mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-04-05 08:36:07 +02:00
Document that you can pass -1 to SDL_WaitEventTimeout() to wait indefinitely
This commit is contained in:
@@ -1343,7 +1343,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_WaitEvent(SDL_Event *event);
|
||||
* \param event the SDL_Event structure to be filled in with the next event
|
||||
* from the queue, or NULL.
|
||||
* \param timeoutMS the maximum number of milliseconds to wait for the next
|
||||
* available event.
|
||||
* available event, or -1 to wait indefinitely.
|
||||
* \returns true if this got an event or false if the timeout elapsed without
|
||||
* any events available.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user