summaryrefslogtreecommitdiffhomepage
path: root/src/core.c
diff options
context:
space:
mode:
authorAstie Teddy <[email protected]>2021-05-05 19:08:15 +0200
committerGitHub <[email protected]>2021-05-05 19:08:15 +0200
commitc82d9cb89a4aec4485441887f8b74fff06494be5 (patch)
tree02f85942dc1eb20ba4474451325595efccf51451 /src/core.c
parent1269ce8a6f42b308102bda451fc96fe3cd8297ce (diff)
downloadraylib-c82d9cb89a4aec4485441887f8b74fff06494be5.tar.gz
raylib-c82d9cb89a4aec4485441887f8b74fff06494be5.zip
Unset CORE.Window.ready on CloseWindow (#1749)
Window shouldn't be considered ready when CloseWindow has been called.
Diffstat (limited to 'src/core.c')
-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");
}