diff options
| author | Astie Teddy <[email protected]> | 2021-05-05 19:08:15 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-05-05 19:08:15 +0200 |
| commit | c82d9cb89a4aec4485441887f8b74fff06494be5 (patch) | |
| tree | 02f85942dc1eb20ba4474451325595efccf51451 /src/core.c | |
| parent | 1269ce8a6f42b308102bda451fc96fe3cd8297ce (diff) | |
| download | raylib-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.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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"); } |
