mirror of
https://github.com/NickHu/sway
synced 2024-12-25 21:58:16 +01:00
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( > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This commit is contained in:
parent
b5cb49bce9
commit
7ab8cb2ee6
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue