Browse Source

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

Window shouldn't be considered ready when CloseWindow has been called.
pull/1754/head
Astie Teddy 3 years ago
committed by GitHub
parent
commit
c82d9cb89a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      src/core.c

+ 1
- 0
src/core.c 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");
}

Loading…
Cancel
Save