mirror of
https://github.com/glfw/glfw.git
synced 2026-09-22 16:52:57 +00:00
Allow NULL argument to _glfwPlatformFreeModule
This matches the behavior of _glfw_free and the public API, simplifying cleanup code.
This commit is contained in:
@@ -688,6 +688,8 @@ void _glfwTerminateCocoa(void)
|
||||
_glfwTerminateEGL();
|
||||
_glfwTerminateOSMesa();
|
||||
|
||||
memset(&_glfw.ns, 0, sizeof(_glfw.ns));
|
||||
|
||||
} // autoreleasepool
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user