mirror of
https://github.com/glfw/glfw.git
synced 2026-09-19 23:43:15 +00:00
Moved display closing to after GL terminate.
This commit is contained in:
+2
-2
@@ -672,12 +672,12 @@ int _glfwPlatformTerminate(void)
|
||||
|
||||
_glfwTerminateGammaRamp();
|
||||
|
||||
terminateDisplay();
|
||||
|
||||
_glfwTerminateJoysticks();
|
||||
|
||||
_glfwTerminateOpenGL();
|
||||
|
||||
terminateDisplay();
|
||||
|
||||
// Free clipboard memory
|
||||
if (_glfwLibrary.X11.selection.string)
|
||||
free(_glfwLibrary.X11.selection.string);
|
||||
|
||||
Reference in New Issue
Block a user