egl: simplify a non-swrast conditional
functionally identical Reviewed-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30472>
This commit is contained in:

committed by
Marge Bot

parent
44b843b68a
commit
03e88c0633
@@ -933,7 +933,7 @@ dri2_setup_extensions(_EGLDisplay *disp)
|
||||
|
||||
extensions = driGetExtensions(dri2_dpy->dri_screen_render_gpu);
|
||||
|
||||
if (dri2_dpy->image_driver || dri2_dpy->dri2) {
|
||||
if (!dri2_dpy->swrast) {
|
||||
if (!loader_bind_extensions(dri2_dpy, dri2_core_extensions,
|
||||
ARRAY_SIZE(dri2_core_extensions), extensions))
|
||||
return EGL_FALSE;
|
||||
|
Reference in New Issue
Block a user