mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-06 14:23:12 +00:00
Fixed bugs in SDL backend (#5325)
This commit is contained in:
parent
91addeb889
commit
ed68a4fcce
@ -588,7 +588,7 @@ void SetWindowState(unsigned int flags)
|
|||||||
{
|
{
|
||||||
SDL_SetWindowAlwaysOnTop(platform.window, SDL_FALSE);
|
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);
|
FLAG_SET(CORE.Window.flags, FLAG_WINDOW_ALWAYS_RUN);
|
||||||
}
|
}
|
||||||
@ -1249,7 +1249,9 @@ void DisableCursor(void)
|
|||||||
|
|
||||||
HideCursor();
|
HideCursor();
|
||||||
|
|
||||||
platform.cursorRelative = true;
|
// ????
|
||||||
|
//platform.cursorRelative = true;
|
||||||
|
CORE.Input.Mouse.cursorHidden = true;
|
||||||
CORE.Input.Mouse.cursorLocked = true;
|
CORE.Input.Mouse.cursorLocked = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user