diff options
author | Campbell Barton <campbell@blender.org> | 2022-05-27 07:37:57 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-05-27 07:39:21 +0300 |
commit | 6d4f16a7761630db8fdd47531f24bd2f723462c9 (patch) | |
tree | e0b60ee02643cd7313df7af47fbc2cec6a46a131 | |
parent | 49032a8ca5c34f2fa19f7da32013b27dba514b71 (diff) |
Fix non-square cursor creation in GHOST/SDL
Currently all cursors are square, so this didn't show up as a bug.
-rw-r--r-- | intern/ghost/intern/GHOST_WindowSDL.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/ghost/intern/GHOST_WindowSDL.cpp b/intern/ghost/intern/GHOST_WindowSDL.cpp index 7a9ff348b0a..418a1d93380 100644 --- a/intern/ghost/intern/GHOST_WindowSDL.cpp +++ b/intern/ghost/intern/GHOST_WindowSDL.cpp @@ -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; |