summaryrefslogtreecommitdiff
path: root/glx/glxdri2.c
diff options
context:
space:
mode:
Diffstat (limited to 'glx/glxdri2.c')
-rw-r--r--glx/glxdri2.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/glx/glxdri2.c b/glx/glxdri2.c
index c0f29ea31..bcd57a4a3 100644
--- a/glx/glxdri2.c
+++ b/glx/glxdri2.c
@@ -936,9 +936,6 @@ __glXDRIscreenProbe(ScreenPtr pScreen)
size_t buffer_size;
ScrnInfoPtr pScrn = xf86ScreenToScrn(pScreen);
- if (!enableIndirectGLX)
- return NULL;
-
screen = calloc(1, sizeof *screen);
if (screen == NULL)
return NULL;