mirror of
https://github.com/glfw/glfw.git
synced 2026-09-23 00:59:48 +00:00
X11: Fix OSMesa library not being unloaded
(cherry picked from commit a8d8b760fb)
This commit is contained in:
@@ -1235,6 +1235,7 @@ void _glfwPlatformTerminate(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();
|
||||
|
||||
Reference in New Issue
Block a user