From bf6344e1913a5d24c2d68eaca999ea3d71e1b707 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Thu, 14 May 2015 14:58:29 -0700 Subject: Revert "glx/dri2: Disable AIGLX if indirect GLX is disabled" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=90442 Reviewed-by: Eric Anholt Reviewed-by: Michel Dänzer --- glx/glxdri2.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'glx') 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; -- cgit v1.2.3