From 0dc57b0f08782b1eae8f74a20f47b61d2ce760b5 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Thu, 14 Oct 2021 19:42:36 -0700
Subject: [PATCH] Remove slightly misleading comment in the example code
---
include/SDL_events.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/SDL_events.h b/include/SDL_events.h
index c1e28f7771..e4757ef68a 100644
--- a/include/SDL_events.h
+++ b/include/SDL_events.h
@@ -811,7 +811,7 @@ extern DECLSPEC void SDLCALL SDL_FlushEvents(Uint32 minType, Uint32 maxType);
* while (game_is_still_running) {
* SDL_Event event;
* SDL_PumpEvents();
- * while (SDL_PeepEvents(&event, 1, SDL_GETEVENT, 0, SDL_LASTEVENT) == 1) { // poll until all events are handled!
+ * while (SDL_PeepEvents(&event, 1, SDL_GETEVENT, 0, SDL_LASTEVENT) == 1) {
* // decide what to do with this event.
* }
*