presentation-time: drop wlr_presentation arg

There can only be a single presentation-time global advertised to
clients, this it's unnecessary to pass around the wlr_presentation
pointer.
This commit is contained in:
Simon Ser 2023-12-05 16:06:51 +01:00
parent 1968ada213
commit d68ba9d6c2
3 changed files with 19 additions and 42 deletions

View file

@ -54,11 +54,9 @@ static void handle_scene_buffer_output_sample(
}
if (event->direct_scanout) {
wlr_presentation_surface_scanned_out_on_output(
root->presentation, surface->surface, scene_output->output);
wlr_presentation_surface_scanned_out_on_output(surface->surface, scene_output->output);
} else {
wlr_presentation_surface_textured_on_output(
root->presentation, surface->surface, scene_output->output);
wlr_presentation_surface_textured_on_output(surface->surface, scene_output->output);
}
}