Skip to content
Snippets Groups Projects
Commit 626dbf60 authored by Camilla Löwy's avatar Camilla Löwy
Browse files

Added clearing of global struct on terminate.

parent 452e95d0
No related branches found
No related tags found
No related merge requests found
...@@ -174,6 +174,7 @@ GLFWAPI void glfwTerminate(void) ...@@ -174,6 +174,7 @@ GLFWAPI void glfwTerminate(void)
_glfwPlatformTerminate(); _glfwPlatformTerminate();
memset(&_glfw, 0, sizeof(_glfw));
_glfwInitialized = GL_FALSE; _glfwInitialized = GL_FALSE;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment