mirror of
https://github.com/yawut/SDL.git
synced 2026-08-16 13:56:59 -05:00
Make SDL_QuitRequested() return an SDL_bool
This commit is contained in:
@@ -53,6 +53,6 @@
|
||||
/* There are no functions directly affecting the quit event */
|
||||
|
||||
#define SDL_QuitRequested() \
|
||||
(SDL_PumpEvents(), SDL_PeepEvents(NULL,0,SDL_PEEKEVENT,SDL_QUIT,SDL_QUIT))
|
||||
(SDL_PumpEvents(), (SDL_PeepEvents(NULL,0,SDL_PEEKEVENT,SDL_QUIT,SDL_QUIT) > 0))
|
||||
|
||||
#endif /* _SDL_quit_h */
|
||||
|
||||
Reference in New Issue
Block a user