diff options
Diffstat (limited to 'examples/output-layers.c')
-rw-r--r-- | examples/output-layers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/output-layers.c b/examples/output-layers.c index c8edc00f..1b34d584 100644 --- a/examples/output-layers.c +++ b/examples/output-layers.c @@ -286,7 +286,7 @@ int main(int argc, char *argv[]) { struct server server = {0}; server.wl_display = wl_display_create(); - server.backend = wlr_backend_autocreate(server.wl_display, NULL); + server.backend = wlr_backend_autocreate(wl_display_get_event_loop(server.wl_display), NULL); server.renderer = wlr_renderer_autocreate(server.backend); wlr_renderer_init_wl_shm(server.renderer, server.wl_display); |