Browse Source

Unset CORE.Window.ready on CloseWindow (#1749)

Window shouldn't be considered ready when CloseWindow has been called.
Astie Teddy 4 years ago
parent
commit
c82d9cb89a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/core.c

+ 1 - 0
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");
 }