aboutsummaryrefslogtreecommitdiff
path: root/examples/cairo-buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/cairo-buffer.c')
-rw-r--r--examples/cairo-buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/cairo-buffer.c b/examples/cairo-buffer.c
index d92a2f13..d4619878 100644
--- a/examples/cairo-buffer.c
+++ b/examples/cairo-buffer.c
@@ -125,7 +125,7 @@ int main(void) {
struct server server = {0};
server.display = wl_display_create();
- server.backend = wlr_backend_autocreate(server.display, NULL);
+ server.backend = wlr_backend_autocreate(wl_display_get_event_loop(server.display), NULL);
server.scene = wlr_scene_create();
server.renderer = wlr_renderer_autocreate(server.backend);