Add (broken) DRM hardware cursors

This commit is contained in:
Drew DeVault 2017-06-16 15:38:34 -04:00
parent def3d7c64f
commit 7e038a6110
9 changed files with 2739 additions and 1755 deletions

View file

@ -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;