mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 13:11:13 +00:00
x11: Loosen the match for the NVIDIA driver
It seems nVidia puts a different string in the GL_VENDOR than the one it uses for GLX.
This commit is contained in:
parent
889bf83020
commit
3d8ba93f59
@ -595,7 +595,7 @@ gdk_x11_screen_init_egl (GdkX11Screen *screen)
|
||||
* fallback to GLX
|
||||
*/
|
||||
const char *vendor = eglQueryString (edpy, EGL_VENDOR);
|
||||
if (g_strcmp0 (vendor, "NVIDIA Corporation") == 0)
|
||||
if (strstr (vendor, "NVIDIA") != NULL)
|
||||
return FALSE;
|
||||
|
||||
display_x11->have_egl = TRUE;
|
||||
|
Loading…
Reference in New Issue
Block a user