mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
egl/x11: disable dri3 with LIBGL_KOPPER_DRI2=1 as expected
cc: mesa-stable Acked-by: Daniel Stone <daniels@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29106>
This commit is contained in:
parent
28a0f98123
commit
568807cf88
1 changed files with 2 additions and 1 deletions
|
|
@ -1559,7 +1559,8 @@ dri2_initialize_x11_swrast(_EGLDisplay *disp)
|
|||
dri2_dpy->driver_name = strdup(disp->Options.Zink ? "zink" : "swrast");
|
||||
#ifdef HAVE_DRI3
|
||||
if (disp->Options.Zink &&
|
||||
!debug_get_bool_option("LIBGL_DRI3_DISABLE", false))
|
||||
!debug_get_bool_option("LIBGL_DRI3_DISABLE", false) &&
|
||||
!debug_get_bool_option("LIBGL_KOPPER_DRI2", false))
|
||||
dri3_x11_connect(dri2_dpy);
|
||||
#endif
|
||||
if (!dri2_load_driver_swrast(disp))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue