mirror of
https://github.com/glfw/glfw.git
synced 2026-09-20 16:30:45 +00:00
Moved glfwTerminate window closing to shared code.
This commit is contained in:
@@ -70,6 +70,10 @@ GLFWAPI void glfwTerminate(void)
|
||||
if (!_glfwInitialized)
|
||||
return;
|
||||
|
||||
// Close all remaining windows
|
||||
while (_glfwLibrary.windowListHead)
|
||||
glfwCloseWindow(_glfwLibrary.windowListHead);
|
||||
|
||||
if (!_glfwPlatformTerminate())
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user