mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-16 08:56:26 -05:00
Merge pull request #33 from acrisci/bug/fix-software-cursor
bugfix: fix cursor software rendering fallback
This commit is contained in:
commit
3dd6a06df0
1 changed files with 1 additions and 1 deletions
|
|
@ -206,7 +206,7 @@ bool wlr_output_set_cursor(struct wlr_output *output,
|
||||||
output->cursor.texture = wlr_render_surface_init(output->cursor.renderer);
|
output->cursor.texture = wlr_render_surface_init(output->cursor.renderer);
|
||||||
}
|
}
|
||||||
|
|
||||||
wlr_surface_attach_pixels(output->cursor.texture, GL_RGBA,
|
wlr_surface_attach_pixels(output->cursor.texture, WL_SHM_FORMAT_XBGR8888,
|
||||||
stride, width, height, buf);
|
stride, width, height, buf);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue