Function sdl2_sys::SDL_WaitEvent
source · [−]Expand description
\brief Waits indefinitely for the next available event.
\return 1, or 0 if there was an error while waiting for events.
\param event If not NULL, the next event is removed from the queue and stored in that area.