From 7e038a6110501a51e7f3d3366e8bc54a02766f22 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Fri, 16 Jun 2017 15:38:34 -0400 Subject: Add (broken) DRM hardware cursors --- example/touch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'example/touch.c') 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; -- cgit v1.2.3