aboutsummaryrefslogtreecommitdiff
path: root/example/touch.c
diff options
context:
space:
mode:
Diffstat (limited to 'example/touch.c')
-rw-r--r--example/touch.c2
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;