diff --git a/sway/desktop/output.c b/sway/desktop/output.c index 476bfd252..f6ff90ef4 100644 --- a/sway/desktop/output.c +++ b/sway/desktop/output.c @@ -530,7 +530,7 @@ static bool scan_out_fullscreen_view(struct sway_output *output, return false; } - wlr_presentation_surface_sampled_on_output(server.presentation, surface, + wlr_presentation_surface_scanned_out_on_output(server.presentation, surface, wlr_output); return wlr_output_commit_state(wlr_output, pending); diff --git a/sway/desktop/render.c b/sway/desktop/render.c index f08e2c6c4..c4c0004e7 100644 --- a/sway/desktop/render.c +++ b/sway/desktop/render.c @@ -150,7 +150,7 @@ static void render_surface_iterator(struct sway_output *output, render_texture(data->ctx, texture, &src_box, &dst_box, &clip_box, surface->current.transform, alpha); - wlr_presentation_surface_sampled_on_output(server.presentation, surface, + wlr_presentation_surface_textured_on_output(server.presentation, surface, wlr_output); }