summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authormaksut <[email protected]>2023-11-09 22:36:22 +0000
committerGitHub <[email protected]>2023-11-09 23:36:22 +0100
commit1b524bb2ec57cdca819d6d423639b5962736905a (patch)
tree863dde0be10e12f08b967405f6bccf30ef0fded5 /src
parent80aafdb38f6ce665e9ac7c95dd8f5fe84f982692 (diff)
downloadraylib-1b524bb2ec57cdca819d6d423639b5962736905a.tar.gz
raylib-1b524bb2ec57cdca819d6d423639b5962736905a.zip
WindowShouldClose(), reset shouldClose flag when window is inited (#3518)
Diffstat (limited to 'src')
-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));