mirror of
https://github.com/glfw/glfw.git
synced 2026-08-29 03:04:14 +02:00
Added clearing of global struct on terminate.
This commit is contained in:
@@ -174,6 +174,7 @@ GLFWAPI void glfwTerminate(void)
|
||||
|
||||
_glfwPlatformTerminate();
|
||||
|
||||
memset(&_glfw, 0, sizeof(_glfw));
|
||||
_glfwInitialized = GL_FALSE;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user