1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-11-23 10:48:51 -05:00

Added clearing of global struct on terminate.

This commit is contained in:
Camilla Berglund 2014-08-18 12:17:00 +02:00
parent 452e95d02a
commit 626dbf6057

View File

@ -174,6 +174,7 @@ GLFWAPI void glfwTerminate(void)
_glfwPlatformTerminate(); _glfwPlatformTerminate();
memset(&_glfw, 0, sizeof(_glfw));
_glfwInitialized = GL_FALSE; _glfwInitialized = GL_FALSE;
} }