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

Window shouldn't be considered ready when CloseWindow has been called.
This commit is contained in:
Astie Teddy 2021-05-05 19:08:15 +02:00 committed by GitHub
parent 1269ce8a6f
commit c82d9cb89a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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");
}