Commit 4e3a4cfd authored by Eric Anholt's avatar Eric Anholt

Use RTLD_DEFAULT, rather than relying on NULL happening to map to it as it

    does on Linux.
parent 323fec20
2006-04-01 Eric Anholt <anholt@FreeBSD.org>
reviewed by: keithp
* GL/glx/glxdri.c: (__glXDRIscreenProbe):
Use RTLD_DEFAULT, rather than relying on NULL happening to map to it as
it does on Linux.
2006-04-01 Adam Jackson <ajax@freedesktop.org>
* configure.ac:
......
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment