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:
Campbell Barton 2022-05-27 14:37:57 +10:00
parent 49032a8ca5
commit 6d4f16a776
1 changed files with 1 additions and 1 deletions

View File

@ -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;