diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-06-16 15:38:34 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2017-06-16 15:38:34 -0400 |
commit | 7e038a6110501a51e7f3d3366e8bc54a02766f22 (patch) | |
tree | a8734a451de1f98c446761e744fa275df01a72d7 /example/touch.c | |
parent | def3d7c64f68d59c6daec5974afc3ca84fa4bda9 (diff) |
Add (broken) DRM hardware cursors
Diffstat (limited to 'example/touch.c')
-rw-r--r-- | example/touch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/example/touch.c b/example/touch.c index 7f4f3800..46eddf62 100644 --- a/example/touch.c +++ b/example/touch.c @@ -111,7 +111,7 @@ int main(int argc, char *argv[]) { state.renderer = wlr_gles3_renderer_init(); state.cat_texture = wlr_render_surface_init(state.renderer); - wlr_surface_attach_pixels(state.cat_texture, GL_RGB, + wlr_surface_attach_pixels(state.cat_texture, GL_RGBA, cat_tex.width, cat_tex.height, cat_tex.pixel_data); compositor.data = &state; |