Cocoa: Fix EGL and OSMesa not being unloaded

This commit is contained in:
Camilla Löwy 2022-04-28 21:14:11 +02:00
parent 10e9033a29
commit 89514cf0fc
2 changed files with 3 additions and 0 deletions

View File

@ -249,6 +249,7 @@ information on what to include when reporting a bug.
- [Cocoa] Bugfix: `kIOMasterPortDefault` was deprecated in macOS 12.0 (#1980)
- [Cocoa] Bugfix: `kUTTypeURL` was deprecated in macOS 12.0 (#2003)
- [Cocoa] Bugfix: A connected Apple AirPlay would emit a useless error (#1791)
- [Cocoa] Bugfix: The EGL and OSMesa libraries were not unloaded on termination
- [X11] Bugfix: The CMake files did not check for the XInput headers (#1480)
- [X11] Bugfix: Key names were not updated when the keyboard layout changed
(#1462,#1528)

View File

@ -676,6 +676,8 @@ void _glfwTerminateCocoa(void)
_glfw_free(_glfw.ns.clipboardString);
_glfwTerminateNSGL();
_glfwTerminateEGL();
_glfwTerminateOSMesa();
} // autoreleasepool
}