Update SDL_mouse.c
This commit is contained in:
1 parent
5699ba799e
commit
e2857fc5a2
2 files changed
+6
-3
No files matched your search
@@ -200,6 +200,8 @@ static void SDLCALL SDL_MouseRelativeCursorVisibleChanged(void *userdata, const
|
||||
SDL_Mouse *mouse = (SDL_Mouse *)userdata;
|
||||
|
||||
mouse->relative_mode_cursor_visible = SDL_GetStringBoolean(hint, false);
|
||||
|
||||
SDL_SetCursor(NULL); // Update cursor visibility
|
||||
}
|
||||
|
||||
// Public functions
|
||||
|
||||
Reference in new issue
Block a user