diff --git a/.pick_status.json b/.pick_status.json index 7d188fb316d..1236ffb6acb 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -1544,7 +1544,7 @@ "description": "egl: fix defines for zink's dri3 check", "nominated": true, "nomination_type": 0, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": null, "notes": null diff --git a/src/egl/drivers/dri2/egl_dri2.c b/src/egl/drivers/dri2/egl_dri2.c index b884a0e887f..7d67e31f177 100644 --- a/src/egl/drivers/dri2/egl_dri2.c +++ b/src/egl/drivers/dri2/egl_dri2.c @@ -1066,17 +1066,15 @@ dri2_setup_extensions(_EGLDisplay *disp) (dri2_dpy->present_major_version == 1 && dri2_dpy->present_minor_version >= 2)) && (dri2_dpy->image && dri2_dpy->image->base.version >= 15); -#endif if (disp->Options.Zink && !disp->Options.ForceSoftware && -#ifdef HAVE_DRI3_MODIFIERS dri2_dpy->dri3_major_version != -1 && !dri2_dpy->multibuffers_available && -#endif /* this is enum _egl_platform_type */ (disp->Platform == _EGL_PLATFORM_X11 || disp->Platform == _EGL_PLATFORM_XCB) && !debug_get_bool_option("LIBGL_KOPPER_DRI2", false)) return EGL_FALSE; +#endif loader_bind_extensions(dri2_dpy, optional_core_extensions, ARRAY_SIZE(optional_core_extensions), extensions);