Updated to wlr 0.6
This commit is contained in:
parent
5cc86571a6
commit
ffd4a89db0
1 changed files with 2 additions and 2 deletions
|
@ -30,7 +30,7 @@ output_frame_notify(struct wl_listener *listener, void *data)
|
||||||
struct wlr_renderer *renderer =
|
struct wlr_renderer *renderer =
|
||||||
wlr_backend_get_renderer(wlr_output->backend);
|
wlr_backend_get_renderer(wlr_output->backend);
|
||||||
|
|
||||||
if (!wlr_output_make_current(wlr_output, NULL)) {
|
if (!wlr_output_attach_render(wlr_output, NULL)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -46,7 +46,7 @@ output_frame_notify(struct wl_listener *listener, void *data)
|
||||||
wlr_renderer_end(renderer);
|
wlr_renderer_end(renderer);
|
||||||
}
|
}
|
||||||
|
|
||||||
wlr_output_swap_buffers(wlr_output, NULL, NULL);
|
wlr_output_commit(wlr_output);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in a new issue