diff options
author | Simon Ser <[email protected]> | 2019-11-17 00:24:19 +0100 |
---|---|---|
committer | Drew DeVault <[email protected]> | 2019-11-21 11:19:00 -0500 |
commit | 1d3cbe9f278297fffa83e4e0c99d8ba46903cc3e (patch) | |
tree | 7d34bc02a4b205d4ffba77760064b6d9e70894a7 /sway/desktop/render.c | |
parent | 5d882cb5fc2d9d9fd68439021e48a90aa2e50e79 (diff) |
Use new presentation-time helper
This has the advantage to (1) reduce boilerplate and (2) make us
correctly handle wlr_output_event_present.commit_seq.
Diffstat (limited to 'sway/desktop/render.c')
-rw-r--r-- | sway/desktop/render.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sway/desktop/render.c b/sway/desktop/render.c index c432b476..960fe083 100644 --- a/sway/desktop/render.c +++ b/sway/desktop/render.c @@ -121,7 +121,8 @@ static void render_surface_iterator(struct sway_output *output, struct sway_view render_texture(wlr_output, output_damage, texture, &box, matrix, alpha); - wlr_presentation_surface_sampled(server.presentation, surface); + wlr_presentation_surface_sampled_on_output(server.presentation, surface, + wlr_output); } static void render_layer(struct sway_output *output, |