This website works better with JavaScript.
Home
Explore
Help
Sign In
Archivist
/
raylib-src
mirror of
https://github.com/raysan5/raylib
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
24
Wiki
Activity
Browse Source
properly handle RGFW_quit events
pull/4798/head
ColleagueRiley
1 month ago
parent
2ac95b4356
commit
1fa8d932d1
1 changed files
with
3 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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
{
Write
Preview
Loading…
Cancel
Save