properly handle RGFW_quit events
This commit is contained in:
parent
2ac95b4356
commit
1fa8d932d1
|
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user