mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04:00
Add (broken) DRM hardware cursors
This commit is contained in:
parent
def3d7c64f
commit
7e038a6110
9 changed files with 2739 additions and 1755 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue