-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix window close on macOS; only terminate GLFW if no window open.
Trigger sketch shutdown but stop window closing in callback, allowing sketch shutdown to proceed normally. Add extra call to poll GLFW events after window closing - workaround for GLFW issue 1412 pending updated version in LWJGL. Maintain static window count and only call glfwTerminate() on last window close.
- Loading branch information
1 parent
c8ee29e
commit 7c3d6b1
Showing
1 changed file
with
54 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters