mirror of
https://github.com/glfw/glfw.git
synced 2025-02-07 17:31:49 +00:00
Moved display closing to after GL terminate.
This commit is contained in:
parent
c4d5da0090
commit
1d6d6bc3c6
@ -672,12 +672,12 @@ int _glfwPlatformTerminate(void)
|
|||||||
|
|
||||||
_glfwTerminateGammaRamp();
|
_glfwTerminateGammaRamp();
|
||||||
|
|
||||||
terminateDisplay();
|
|
||||||
|
|
||||||
_glfwTerminateJoysticks();
|
_glfwTerminateJoysticks();
|
||||||
|
|
||||||
_glfwTerminateOpenGL();
|
_glfwTerminateOpenGL();
|
||||||
|
|
||||||
|
terminateDisplay();
|
||||||
|
|
||||||
// Free clipboard memory
|
// Free clipboard memory
|
||||||
if (_glfwLibrary.X11.selection.string)
|
if (_glfwLibrary.X11.selection.string)
|
||||||
free(_glfwLibrary.X11.selection.string);
|
free(_glfwLibrary.X11.selection.string);
|
||||||
|
Loading…
Reference in New Issue
Block a user