diff --git a/src/platforms/rcore_desktop_sdl.c b/src/platforms/rcore_desktop_sdl.c index 99ef6338c..b1ca43a60 100644 --- a/src/platforms/rcore_desktop_sdl.c +++ b/src/platforms/rcore_desktop_sdl.c @@ -588,7 +588,7 @@ void SetWindowState(unsigned int flags) { SDL_SetWindowAlwaysOnTop(platform.window, SDL_FALSE); } - if (FLAG_IS_SET(flags, FLAG_WINDOW_ALWAYS_RUN) + if (FLAG_IS_SET(flags, FLAG_WINDOW_ALWAYS_RUN)) { FLAG_SET(CORE.Window.flags, FLAG_WINDOW_ALWAYS_RUN); } @@ -1249,7 +1249,9 @@ void DisableCursor(void) HideCursor(); - platform.cursorRelative = true; + // ???? + //platform.cursorRelative = true; + CORE.Input.Mouse.cursorHidden = true; CORE.Input.Mouse.cursorLocked = true; }