Pārlūkot izejas kodu

Fixed bugs in SDL backend (#5325)

pull/5327/head
komunre pirms 1 nedēļas
committed by GitHub
vecāks
revīzija
ed68a4fcce
Šim parakstam datu bāzē netika atrasta zināma atslēga GPG atslēgas ID: B5690EEEBB952194
1 mainītis faili ar 4 papildinājumiem un 2 dzēšanām
  1. +4
    -2
      src/platforms/rcore_desktop_sdl.c

+ 4
- 2
src/platforms/rcore_desktop_sdl.c Parādīt failu

@ -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;
}

Notiek ielāde…
Atcelt
Saglabāt