mirror of
https://github.com/glfw/glfw.git
synced 2026-02-17 21:12:34 +01:00
X11: Fix libXext not unloaded at termination
This commit is contained in:
@@ -155,6 +155,7 @@ information on what to include when reporting a bug.
|
|||||||
less than 1 (#2754)
|
less than 1 (#2754)
|
||||||
- [X11] Bugfix: Clamp width and height to >= 1 to prevent BadValue error and app exit
|
- [X11] Bugfix: Clamp width and height to >= 1 to prevent BadValue error and app exit
|
||||||
- [X11] Bugfix: Floating windows silently became non-floating when hidden (#2276)
|
- [X11] Bugfix: Floating windows silently became non-floating when hidden (#2276)
|
||||||
|
- [X11] Bugfix: The `libXext` library was not unloaded at termination
|
||||||
- [Linux] Bugfix: The header for `ioctl` was only implicitly included (#2778)
|
- [Linux] Bugfix: The header for `ioctl` was only implicitly included (#2778)
|
||||||
- [Null] Added Vulkan 'window' surface creation via `VK_EXT_headless_surface`
|
- [Null] Added Vulkan 'window' surface creation via `VK_EXT_headless_surface`
|
||||||
- [Null] Added EGL context creation on Mesa via `EGL_MESA_platform_surfaceless`
|
- [Null] Added EGL context creation on Mesa via `EGL_MESA_platform_surfaceless`
|
||||||
|
|||||||
@@ -1622,6 +1622,12 @@ void _glfwTerminateX11(void)
|
|||||||
_glfw.x11.xrender.handle = NULL;
|
_glfw.x11.xrender.handle = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (_glfw.x11.xshape.handle)
|
||||||
|
{
|
||||||
|
_glfwPlatformFreeModule(_glfw.x11.xshape.handle);
|
||||||
|
_glfw.x11.xshape.handle = NULL;
|
||||||
|
}
|
||||||
|
|
||||||
if (_glfw.x11.vidmode.handle)
|
if (_glfw.x11.vidmode.handle)
|
||||||
{
|
{
|
||||||
_glfwPlatformFreeModule(_glfw.x11.vidmode.handle);
|
_glfwPlatformFreeModule(_glfw.x11.vidmode.handle);
|
||||||
|
|||||||
Reference in New Issue
Block a user