diff options
author | Keith Packard <keithp@keithp.com> | 2015-05-14 14:58:29 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2015-05-14 21:29:40 -0700 |
commit | bf6344e1913a5d24c2d68eaca999ea3d71e1b707 (patch) | |
tree | 2ebff214baef6cb2917f4bc48e749e7832d69441 /glx | |
parent | b0d2e010316d710eb4052963de3a1e2dc7ba356e (diff) |
Revert "glx/dri2: Disable AIGLX if indirect GLX is disabled"
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 <eric@anholt.net>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Diffstat (limited to 'glx')
-rw-r--r-- | glx/glxdri2.c | 3 |
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; |