From 7ab8cb2ee6f11693987d9f24abec708144807b53 Mon Sep 17 00:00:00 2001 From: Artturin Date: Mon, 5 Jun 2023 23:52:11 +0300 Subject: [PATCH] chase wlroots wlr_renderer_begin_buffer_pass change https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4159 > ../sway/desktop/output.c:618:47: error: too few arguments to function 'wlr_renderer_begin_buffer_pass' > 618 | struct wlr_render_pass *render_pass = wlr_renderer_begin_buffer_pass( > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- sway/desktop/output.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sway/desktop/output.c b/sway/desktop/output.c index fe1fa8af7..43ce2d70d 100644 --- a/sway/desktop/output.c +++ b/sway/desktop/output.c @@ -616,7 +616,7 @@ static int output_repaint_timer_handler(void *data) { } struct wlr_render_pass *render_pass = wlr_renderer_begin_buffer_pass( - wlr_output->renderer, buffer); + wlr_output->renderer, buffer, NULL); if (render_pass == NULL) { wlr_buffer_unlock(buffer); return false;