aboutsummaryrefslogtreecommitdiff
path: root/examples/compositor
diff options
context:
space:
mode:
authornyorain <nyorain@gmail.com>2017-08-10 11:03:15 +0200
committernyorain <nyorain@gmail.com>2017-08-10 11:03:58 +0200
commit1901c3e1b64cff3440b0b3b27ad9db06645a29e6 (patch)
treea614759460037f5b2e52d52aaa08612e1a358970 /examples/compositor
parent67369173aaafd763a6369a84917ae457c7095a72 (diff)
Fix example for updated gles
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 1fbb38ad..7ac549e5 100644
--- a/examples/compositor/main.c
+++ b/examples/compositor/main.c
@@ -67,7 +67,7 @@ int main() {
};
compositor_init(&compositor);
- state.renderer = wlr_gles2_renderer_init(compositor.backend->egl);
+ state.renderer = wlr_gles2_renderer_init();
wl_display_init_shm(compositor.display);
wl_compositor_init(compositor.display, &state.compositor, state.renderer);
wl_shell_init(compositor.display, &state.shell);