mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-27 02:46:08 +08:00
Removed misleading documentation for SDL_AppEvent()
Fixes https://github.com/libsdl-org/SDL/issues/9731
This commit is contained in:
@@ -181,10 +181,10 @@ Next:
|
|||||||
int SDL_AppEvent(void *appstate, const SDL_Event *event);
|
int SDL_AppEvent(void *appstate, const SDL_Event *event);
|
||||||
```
|
```
|
||||||
|
|
||||||
This will be called whenever an SDL event arrives, on the thread that runs
|
This will be called whenever an SDL event arrives. Your app should not call
|
||||||
SDL_AppIterate. Your app should also not call SDL_PollEvent, SDL_PumpEvent,
|
SDL_PollEvent, SDL_PumpEvent, etc, as SDL will manage all this for you. Return
|
||||||
etc, as SDL will manage all this for you. Return values are the same as from
|
values are the same as from SDL_AppIterate(), so you can terminate in response
|
||||||
SDL_AppIterate(), so you can terminate in response to SDL_EVENT_QUIT, etc.
|
to SDL_EVENT_QUIT, etc.
|
||||||
|
|
||||||
|
|
||||||
Finally:
|
Finally:
|
||||||
|
|||||||
Reference in New Issue
Block a user