aboutsummaryrefslogtreecommitdiff
path: root/example/rotation.c
diff options
context:
space:
mode:
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;