This reverts commit d61ae18074e53c2cdfb13cc37693b526160d6ca7.

If the DRI2 provider is disabled, then we don't advertise the correct
GLX extensions to clients, and things like GLES fail.

Reviewed-by: Eric Anholt <[email protected]>
---
 glx/glxdri2.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/glx/glxdri2.c b/glx/glxdri2.c
index c0f29ea..bcd57a4 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;
-- 
2.1.4

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to