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
+1
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();