summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/rcore.c1
1 files changed, 1 insertions, 0 deletions
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));