mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-18 06:59:44 -05:00
Added software cursor fallback
This commit is contained in:
parent
f252c5a792
commit
0cd94f0cf0
15 changed files with 115 additions and 42 deletions
|
|
@ -20,9 +20,9 @@ void wlr_surface_bind(struct wlr_surface *surface) {
|
|||
}
|
||||
|
||||
bool wlr_surface_attach_pixels(struct wlr_surface *surface, uint32_t format,
|
||||
int width, int height, const unsigned char *pixels) {
|
||||
int stride, int width, int height, const unsigned char *pixels) {
|
||||
return surface->impl->attach_pixels(surface->state,
|
||||
format, width, height, pixels);
|
||||
format, stride, width, height, pixels);
|
||||
}
|
||||
|
||||
bool wlr_surface_attach_shm(struct wlr_surface *surface, uint32_t format,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue