diff --git a/src/init.c b/src/init.c index 9d50cf9c..7e5204aa 100644 --- a/src/init.c +++ b/src/init.c @@ -174,6 +174,7 @@ GLFWAPI void glfwTerminate(void) _glfwPlatformTerminate(); + memset(&_glfw, 0, sizeof(_glfw)); _glfwInitialized = GL_FALSE; }