aboutsummaryrefslogtreecommitdiff
path: root/example/rotation.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-06-16 15:38:34 -0400
committerDrew DeVault <sir@cmpwn.com>2017-06-16 15:38:34 -0400
commit7e038a6110501a51e7f3d3366e8bc54a02766f22 (patch)
treea8734a451de1f98c446761e744fa275df01a72d7 /example/rotation.c
parentdef3d7c64f68d59c6daec5974afc3ca84fa4bda9 (diff)
Add (broken) DRM hardware cursors
Diffstat (limited to 'example/rotation.c')
-rw-r--r--example/rotation.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/rotation.c b/example/rotation.c
index 892083e6..f4b7625e 100644
--- a/example/rotation.c
+++ b/example/rotation.c
@@ -205,7 +205,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;