Pārlūkot izejas kodu

properly handle RGFW_quit events

pull/4798/head
ColleagueRiley pirms 1 mēnesi
vecāks
revīzija
1fa8d932d1
1 mainītis faili ar 3 papildinājumiem un 1 dzēšanām
  1. +3
    -1
      src/platforms/rcore_desktop_rgfw.c

+ 3
- 1
src/platforms/rcore_desktop_rgfw.c Parādīt failu

@ -989,8 +989,10 @@ void PollInputEvents(void)
case RGFW_quit: case RGFW_quit:
if (CORE.Window.flags & FLAG_WINDOW_ALWAYS_RUN) if (CORE.Window.flags & FLAG_WINDOW_ALWAYS_RUN)
event->type = 0; event->type = 0;
else else {
CORE.Window.shouldClose = true; CORE.Window.shouldClose = true;
return;
}
break; break;
case RGFW_DND: // Dropped file case RGFW_DND: // Dropped file
{ {

||||||
x
 
000:0
Notiek ielāde…
Atcelt
Saglabāt