mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-15 10:55:37 +00:00
Update rcore_desktop_sdl.c
This commit is contained in:
@@ -1238,7 +1238,6 @@ void EnableCursor(void)
|
||||
SDL_SetRelativeMouseMode(SDL_FALSE);
|
||||
|
||||
ShowCursor();
|
||||
|
||||
CORE.Input.Mouse.cursorLocked = false;
|
||||
}
|
||||
|
||||
@@ -1248,10 +1247,6 @@ void DisableCursor(void)
|
||||
SDL_SetRelativeMouseMode(SDL_TRUE);
|
||||
|
||||
HideCursor();
|
||||
|
||||
// ????
|
||||
//platform.cursorRelative = true;
|
||||
CORE.Input.Mouse.cursorHidden = true;
|
||||
CORE.Input.Mouse.cursorLocked = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user