Browse Source

Win32: Fix OSMesa library not being unloaded

Camilla Löwy 3 years ago
parent
commit
10e9033a29
2 changed files with 2 additions and 0 deletions
  1. 1 0
      README.md
  2. 1 0
      src/win32_init.c

+ 1 - 0
README.md

@@ -217,6 +217,7 @@ information on what to include when reporting a bug.
  - [Win32] Bugfix: `GLFW_KEY_PAUSE` scancode from `glfwGetKeyScancode` did not
    match event scancode (#1993)
  - [Win32] Bugfix: Instance-local operations used executable instance (#469,#1296,#1395)
+ - [Win32] Bugfix: The OSMesa library was not unloaded on termination
  - [Cocoa] Added support for `VK_EXT_metal_surface` (#1619)
  - [Cocoa] Added locating the Vulkan loader at runtime in an application bundle
  - [Cocoa] Moved main menu creation to GLFW initialization time (#1649)

+ 1 - 0
src/win32_init.c

@@ -670,6 +670,7 @@ void _glfwTerminateWin32(void)
 
     _glfwTerminateWGL();
     _glfwTerminateEGL();
+    _glfwTerminateOSMesa();
 
     freeLibraries();
 }