summaryrefslogtreecommitdiff
path: root/GL
diff options
context:
space:
mode:
Diffstat (limited to 'GL')
-rw-r--r--GL/glx/glxdri.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/GL/glx/glxdri.c b/GL/glx/glxdri.c
index 385a8fab8..d70273a20 100644
--- a/GL/glx/glxdri.c
+++ b/GL/glx/glxdri.c
@@ -724,7 +724,7 @@ __glXDRIscreenProbe(ScreenPtr pScreen)
char filename[128];
Bool isCapable;
- if (dlsym (NULL, "DRIQueryDirectRenderingCapable") == NULL) {
+ if (dlsym (RTLD_DEFAULT, "DRIQueryDirectRenderingCapable") == NULL) {
LogMessage(X_ERROR, "AIGLX: DRI module not loaded\n");
return NULL;
}