aboutsummaryrefslogtreecommitdiff
path: root/examples/compositor
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-08-10 22:15:37 -0400
committerDrew DeVault <sir@cmpwn.com>2017-08-10 22:15:37 -0400
commitc24351681f672a2ce561b9cb6d73172dfc36c45c (patch)
tree5b39ee3fd871e90cfbf0f0a057d11debc15caf97 /examples/compositor
parent4aaf76cb66865efb8ea902a45596cd12d0f73b8e (diff)
Refactor EGL handling
Diffstat (limited to 'examples/compositor')
-rw-r--r--examples/compositor/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/compositor/main.c b/examples/compositor/main.c
index fd592600..f115d267 100644
--- a/examples/compositor/main.c
+++ b/examples/compositor/main.c
@@ -68,7 +68,7 @@ int main() {
};
compositor_init(&compositor);
- state.renderer = wlr_gles2_renderer_init();
+ state.renderer = wlr_gles2_renderer_init(compositor.backend);
wl_display_init_shm(compositor.display);
wl_compositor_init(compositor.display, &state.compositor, state.renderer);
wl_shell_init(compositor.display, &state.shell);