From e69bd2d71e3f69d3a4091b52544091877db1f3d9 Mon Sep 17 00:00:00 2001 From: maksut Date: Thu, 9 Nov 2023 19:35:37 +0000 Subject: [PATCH] WindowShouldClose(), reset shouldClose flag when window is inited --- src/rcore.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rcore.c b/src/rcore.c index aa254010d..7432fba71 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));