summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core.c b/src/core.c
index e0987928..d33cc044 100644
--- a/src/core.c
+++ b/src/core.c
@@ -919,6 +919,7 @@ void CloseWindow(void)
if (CORE.Input.Gamepad.threadId) pthread_join(CORE.Input.Gamepad.threadId, NULL);
#endif
+ CORE.Window.ready = false;
TRACELOG(LOG_INFO, "Window closed successfully");
}