diff options
author | Eric Anholt <anholt@freebsd.org> | 2006-04-02 06:22:05 +0000 |
---|---|---|
committer | Eric Anholt <anholt@freebsd.org> | 2006-04-02 06:22:05 +0000 |
commit | 4e3a4cfdd1d7153eb88aab05ed02ddb32601ae93 (patch) | |
tree | 35455fd5891de2fcd7ed9c3718ab77e54e037753 /GL | |
parent | 323fec20292fc5ad90bfee9015ecccdc13c968ad (diff) |
Use RTLD_DEFAULT, rather than relying on NULL happening to map to it as it
does on Linux.
Diffstat (limited to 'GL')
-rw-r--r-- | GL/glx/glxdri.c | 2 |
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; } |