From 3d9d4e311c58bf159100491a5efa2f7dcc1f19c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Camilla=20L=C3=B6wy?= Date: Thu, 28 Apr 2022 21:12:36 +0200 Subject: [PATCH] Win32: Fix OSMesa library not being unloaded (cherry picked from commit 10e9033a29ba088275da4363cd2d821ca577416a) --- README.md | 1 + src/win32_init.c | 1 + 2 files changed, 2 insertions(+) diff --git a/README.md b/README.md index 524debe1..ef2543ac 100644 --- a/README.md +++ b/README.md @@ -130,6 +130,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] Bugfix: A connected Apple AirPlay would emit a useless error (#1791) - [Wayland] Added support for file path drop events (#2040) - [Wayland] Bugfix: `glfwSetClipboardString` would fail if set to result of diff --git a/src/win32_init.c b/src/win32_init.c index 880837f6..18f60d38 100644 --- a/src/win32_init.c +++ b/src/win32_init.c @@ -610,6 +610,7 @@ void _glfwPlatformTerminate(void) _glfwTerminateWGL(); _glfwTerminateEGL(); + _glfwTerminateOSMesa(); _glfwTerminateJoysticksWin32();