[PATCH v3 0/1] MR9474: winex11.drv: Set use_egl to false if it is unavailable.
Avoids attempting to use EGL in visual_from_pixel_format, even when it may not be usable. -- v3: winex11.drv: Set use_egl to false if it is unavailable. https://gitlab.winehq.org/wine/wine/-/merge_requests/9474
From: Tim Clem <tclem(a)codeweavers.com> Avoids attempting to use EGL in visual_from_pixel_format, even when it may not be usable. --- dlls/winex11.drv/opengl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dlls/winex11.drv/opengl.c b/dlls/winex11.drv/opengl.c index c1e4ca8d5af..d963bce1fcb 100644 --- a/dlls/winex11.drv/opengl.c +++ b/dlls/winex11.drv/opengl.c @@ -564,6 +564,8 @@ UINT X11DRV_OpenGLInit( UINT version, const struct opengl_funcs *opengl_funcs, c *driver_funcs = &x11drv_driver_funcs; return STATUS_SUCCESS; } + + use_egl = FALSE; /* No need to load any other libraries as according to the ABI, libGL should be self-sufficient and include all dependencies */ -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/9474
On Fri Nov 14 20:48:58 2025 +0000, Tim Clem wrote:
changed this line in [version 2 of the diff](/wine/wine/-/merge_requests/9474/diffs?diff_id=224236&start_sha=de3d7bd3fbd02d2365860c69e993a67976dd801a#37d83fe5f345d9f4061a00daee669514c12850b5_571_567) Makes sense. Made that change.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/9474#note_122103
This merge request was approved by Rémi Bernon. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/9474
participants (3)
-
Rémi Bernon -
Tim Clem -
Tim Clem (@tclem)