From ff3c20a799f0ddd49d65330461d2a8f3976b30d4 Mon Sep 17 00:00:00 2001 From: SDL Wiki Bot Date: Sun, 5 Nov 2023 14:11:05 +0000 Subject: [PATCH] Sync SDL3 wiki -> header --- 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 d0d267e94..a4811a318 100644 --- a/docs/README-main-functions.md +++ b/docs/README-main-functions.md @@ -175,10 +175,10 @@ int SDL_AppEvent(const SDL_Event *event); ``` This will be called whenever an SDL event arrives, on the thread that runs -SDL_AppIterate. You don't need to call SDL_CleanupEvent(), and your app -should not call SDL_PollEvent, SDL_PumpEvent, etc, as SDL will manage this -for you. Return values are the same as from SDL_AppIterate(), so you can -terminate in response to SDL_EVENT_QUIT, etc. +SDL_AppIterate. You should not call SDL_CleanupEvent() on the provided +event, and 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. Finally: