mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 07:08:04 +02:00
egl: call dri3_x11_connect() for zink
Acked-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24701>
This commit is contained in:
parent
a31922b785
commit
4e7c7656f3
1 changed files with 3 additions and 0 deletions
|
|
@ -1530,6 +1530,9 @@ dri2_initialize_x11_swrast(_EGLDisplay *disp)
|
|||
* here will allow is to simply free the memory at dri2_terminate().
|
||||
*/
|
||||
dri2_dpy->driver_name = strdup(disp->Options.Zink ? "zink" : "swrast");
|
||||
if (disp->Options.Zink &&
|
||||
!debug_get_bool_option("LIBGL_DRI3_DISABLE", false))
|
||||
dri3_x11_connect(dri2_dpy);
|
||||
if (!dri2_load_driver_swrast(disp))
|
||||
goto cleanup;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue