Browse Source

properly handle RGFW_quit events

pull/4798/head
ColleagueRiley 1 month ago
parent
commit
1fa8d932d1
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      src/platforms/rcore_desktop_rgfw.c

+ 3
- 1
src/platforms/rcore_desktop_rgfw.c View File

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

Loading…
Cancel
Save