Make SDL_QuitRequested() return an SDL_bool
This commit is contained in:
parent
c3ab04563b
commit
94e1b6970f
1 changed files with 1 additions and 1 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue