mirror of
https://github.com/swaywm/sway.git
synced 2024-11-22 16:01:27 +00: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
|
@ -616,7 +616,7 @@ static int output_repaint_timer_handler(void *data) {
|
||||||
}
|
}
|
||||||
|
|
||||||
struct wlr_render_pass *render_pass = wlr_renderer_begin_buffer_pass(
|
struct wlr_render_pass *render_pass = wlr_renderer_begin_buffer_pass(
|
||||||
wlr_output->renderer, buffer);
|
wlr_output->renderer, buffer, NULL);
|
||||||
if (render_pass == NULL) {
|
if (render_pass == NULL) {
|
||||||
wlr_buffer_unlock(buffer);
|
wlr_buffer_unlock(buffer);
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in a new issue