From 1b524bb2ec57cdca819d6d423639b5962736905a Mon Sep 17 00:00:00 2001 From: maksut Date: Thu, 9 Nov 2023 22:36:22 +0000 Subject: [PATCH] WindowShouldClose(), reset shouldClose flag when window is inited (#3518) --- src/rcore.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rcore.c b/src/rcore.c index 895460f3..bbac2e93 100644 --- a/src/rcore.c +++ b/src/rcore.c @@ -658,6 +658,7 @@ void InitWindow(int width, int height, const char *title) #endif CORE.Time.frameCounter = 0; + CORE.Window.shouldClose = false; // Initialize random seed SetRandomSeed((unsigned int)time(NULL));