aboutsummaryrefslogtreecommitdiff
path: root/examples/tablet.c
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/tablet.c
parent4aaf76cb66865efb8ea902a45596cd12d0f73b8e (diff)
Refactor EGL handling
Diffstat (limited to 'examples/tablet.c')
-rw-r--r--examples/tablet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/tablet.c b/examples/tablet.c
index 4a7d9f74..0651efde 100644
--- a/examples/tablet.c
+++ b/examples/tablet.c
@@ -152,7 +152,7 @@ int main(int argc, char *argv[]) {
};
compositor_init(&compositor);
- state.renderer = wlr_gles2_renderer_init();
+ state.renderer = wlr_gles2_renderer_init(compositor.backend);
compositor_run(&compositor);
wlr_renderer_destroy(state.renderer);