1 diff --git a/src/glx/glxext.c b/src/glx/glxext.c
2 index a8874defab3..a52f30fdcb2 100644
5 @@ -795,12 +795,6 @@ AllocAndFetchScreenConfigs(Display * dpy, struct glx_display * priv, enum glx_dr
8 #endif /* GLX_DIRECT_RENDERING && !GLX_USE_APPLEGL */
9 -#if defined(GLX_DIRECT_RENDERING) && (!defined(GLX_USE_APPLEGL) || defined(GLX_USE_APPLE))
11 - (glx_driver & GLX_DRIVER_SW || zink)) {
12 - psc = driswCreateScreen(i, priv, glx_driver, driver_name_is_inferred);
16 bool indirect = false;