Fix non-square cursor creation in GHOST/SDL
Currently all cursors are square, so this didn't show up as a bug.
This commit is contained in:
parent
49032a8ca5
commit
6d4f16a776
|
@ -610,7 +610,7 @@ GHOST_TSuccess GHOST_WindowSDL::setWindowCustomCursorShape(
|
|||
}
|
||||
|
||||
m_sdl_custom_cursor = sdl_ghost_CreateCursor(
|
||||
(const Uint8 *)bitmap, (const Uint8 *)mask, sizex, sizex, hotX, hotY);
|
||||
(const Uint8 *)bitmap, (const Uint8 *)mask, sizex, sizey, hotX, hotY);
|
||||
|
||||
SDL_SetCursor(m_sdl_custom_cursor);
|
||||
return GHOST_kSuccess;
|
||||
|
|
Loading…
Reference in New Issue