From 88fc529261482bf1e1fa54dcc6d702f0a25f0946 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Thu, 9 May 2024 08:59:59 -0700 Subject: [PATCH] Removed misleading documentation for SDL_AppEvent() Fixes https://github.com/libsdl-org/SDL/issues/9731 --- docs/README-main-functions.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/README-main-functions.md b/docs/README-main-functions.md index b9d9caa584..2cebc1f276 100644 --- a/docs/README-main-functions.md +++ b/docs/README-main-functions.md @@ -181,10 +181,10 @@ Next: int SDL_AppEvent(void *appstate, const SDL_Event *event); ``` -This will be called whenever an SDL event arrives, on the thread that runs -SDL_AppIterate. Your app should also not call SDL_PollEvent, SDL_PumpEvent, -etc, as SDL will manage all this for you. Return values are the same as from -SDL_AppIterate(), so you can terminate in response to SDL_EVENT_QUIT, etc. +This will be called whenever an SDL event arrives. Your app should not call +SDL_PollEvent, SDL_PumpEvent, etc, as SDL will manage all this for you. Return +values are the same as from SDL_AppIterate(), so you can terminate in response +to SDL_EVENT_QUIT, etc. Finally: