mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-06 14:23:12 +00:00
Update rcore_desktop_sdl.c
This commit is contained in:
parent
ed68a4fcce
commit
cfb43fa999
@ -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;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user