X11: Fix OSMesa library not being unloaded

This commit is contained in:
Camilla Löwy 2022-04-28 21:17:39 +02:00
parent 2d281d7928
commit a8d8b760fb
2 changed files with 2 additions and 0 deletions

View File

@ -289,6 +289,7 @@ information on what to include when reporting a bug.
(#379,#1281,#1285,#2033)
- [X11] Bugfix: Dynamic loading on NetBSD failed due to soname differences
- [X11] Bugfix: Left shift of int constant relied on undefined behavior (#1951)
- [X11] Bugfix: The OSMesa libray was not unloaded on termination
- [Wayland] Added dynamic loading of all Wayland libraries
- [Wayland] Added support for key names via xkbcommon
- [Wayland] Added support for file path drop events (#2040)

View File

@ -1630,6 +1630,7 @@ void _glfwTerminateX11(void)
_glfw.x11.xi.handle = NULL;
}
_glfwTerminateOSMesa();
// NOTE: These need to be unloaded after XCloseDisplay, as they register
// cleanup callbacks that get called by that function
_glfwTerminateEGL();