mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 20:00:11 +01:00
egl/x11: Always select Zink when requested
Before we were selecting Zink based on dri2_dpy->kopper which also takes LIBGL_KOPPER_DISABLE into account which doesn't make any sense. This is just selecting the driver, not selecting Kopper. Reviewed-by: Adam Jackson <ajax@redhat.com> Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36014>
This commit is contained in:
parent
6366a8992f
commit
1dde634b6a
1 changed files with 1 additions and 1 deletions
|
|
@ -1333,7 +1333,7 @@ dri2_initialize_x11(_EGLDisplay *disp)
|
|||
* Every hardware driver_name is set using strdup. Doing the same in
|
||||
* here will allow is to simply free the memory at dri2_terminate().
|
||||
*/
|
||||
if (dri2_dpy->kopper)
|
||||
if (disp->Options.Zink)
|
||||
dri2_dpy->driver_name = strdup("zink");
|
||||
else if (disp->Options.ForceSoftware)
|
||||
dri2_dpy->driver_name = strdup("swrast");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue