diff options
author | 2023-06-05 23:52:11 +0300 | |
---|---|---|
committer | 2023-06-05 23:12:20 +0200 | |
commit | 7ab8cb2ee6f11693987d9f24abec708144807b53 (patch) | |
tree | fe433fe950384f33a6ef7eb6973c2584c191f787 | |
parent | xwayland: fix mapped state check in OR handlers (diff) | |
download | sway-7ab8cb2ee6f11693987d9f24abec708144807b53.tar.gz sway-7ab8cb2ee6f11693987d9f24abec708144807b53.tar.zst sway-7ab8cb2ee6f11693987d9f24abec708144807b53.zip |
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(
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-rw-r--r-- | sway/desktop/output.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/desktop/output.c b/sway/desktop/output.c index fe1fa8af..43ce2d70 100644 --- a/sway/desktop/output.c +++ b/sway/desktop/output.c | |||
@@ -616,7 +616,7 @@ static int output_repaint_timer_handler(void *data) { | |||
616 | } | 616 | } |
617 | 617 | ||
618 | struct wlr_render_pass *render_pass = wlr_renderer_begin_buffer_pass( | 618 | struct wlr_render_pass *render_pass = wlr_renderer_begin_buffer_pass( |
619 | wlr_output->renderer, buffer); | 619 | wlr_output->renderer, buffer, NULL); |
620 | if (render_pass == NULL) { | 620 | if (render_pass == NULL) { |
621 | wlr_buffer_unlock(buffer); | 621 | wlr_buffer_unlock(buffer); |
622 | return false; | 622 | return false; |