mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2025-01-17 14:47:19 +01:00
Wayland: Fixed drawing created cursors without transparency.
This commit is contained in:
parent
167dd4a1fa
commit
676041aa16
@ -174,7 +174,7 @@ Wayland_CreateCursor(SDL_Surface *surface, int hot_x, int hot_y)
|
|||||||
if (create_buffer_from_shm (data,
|
if (create_buffer_from_shm (data,
|
||||||
surface->w,
|
surface->w,
|
||||||
surface->h,
|
surface->h,
|
||||||
WL_SHM_FORMAT_XRGB8888) < 0)
|
WL_SHM_FORMAT_ARGB8888) < 0)
|
||||||
{
|
{
|
||||||
free (cursor->driverdata);
|
free (cursor->driverdata);
|
||||||
free (cursor);
|
free (cursor);
|
||||||
|
Loading…
Reference in New Issue
Block a user