浏览代码

Win32: Fix OSMesa library not being unloaded

Camilla Löwy 3 年之前
父节点
当前提交
10e9033a29
共有 2 个文件被更改,包括 2 次插入0 次删除
  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();
 }