summaryrefslogtreecommitdiff
path: root/glx/glxscreens.c
diff options
context:
space:
mode:
Diffstat (limited to 'glx/glxscreens.c')
-rw-r--r--glx/glxscreens.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/glx/glxscreens.c b/glx/glxscreens.c
index 61b8a522a..7e083cf19 100644
--- a/glx/glxscreens.c
+++ b/glx/glxscreens.c
@@ -383,6 +383,14 @@ __glXScreenInit(__GLXscreen * pGlxScreen, ScreenPtr pScreen)
}
dixSetPrivate(&pScreen->devPrivates, glxScreenPrivateKey, pGlxScreen);
+
+ i = __glXGetExtensionString(pGlxScreen->glx_enable_bits, NULL);
+ if (i > 0) {
+ pGlxScreen->GLXextensions = xnfalloc(i);
+ (void) __glXGetExtensionString(pGlxScreen->glx_enable_bits,
+ pGlxScreen->GLXextensions);
+ }
+
}
void