[PATCH] Revert "glx/dri2: Disable AIGLX if indirect GLX is disabled"
Keith Packard
keithp at keithp.com
Thu May 14 15:51:38 PDT 2015
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 <eric at anholt.net>
---
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
More information about the xorg-devel
mailing list