X11: Fix OSMesa library not being unloaded

master
Camilla Löwy ago%!(EXTRA string=3 years)
parent 2d281d7928
commit a8d8b760fb
  1. 1
      README.md
  2. 1
      src/x11_init.c

@ -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)

@ -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();

Loading…
Cancel
Save