properly handle RGFW_quit events

This commit is contained in:
ColleagueRiley 2025-02-25 15:54:54 -05:00
parent 2ac95b4356
commit 1fa8d932d1

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
{