Commit 7e085f52 authored by Kristian Høgsberg's avatar Kristian Høgsberg

Use xf86LoaderCheckSymbol to check for DRI symbols instead of dlsym,

    avoiding RTLD_DEFAULT. (__glXDRIscreenProbe): Change GLX-DRI to AIGLX
    in LogMessage for consitency.
parent b2097b99
2006-04-02 Kristian Høgsberg <krh@redhat.com>
* GL/glx/glxdri.c (__glXDRIscreenProbe): Use xf86LoaderCheckSymbol
to check for DRI symbols instead of dlsym, avoiding RTLD_DEFAULT.
(__glXDRIscreenProbe): Change GLX-DRI to AIGLX in LogMessage for
consitency.
2006-04-02 Adam Jackson <ajax@freedesktop.org>
* hw/kdrive/ati/Makefile.am:
......
......@@ -724,7 +724,7 @@ __glXDRIscreenProbe(ScreenPtr pScreen)
char filename[128];
Bool isCapable;
if (dlsym (RTLD_DEFAULT, "DRIQueryDirectRenderingCapable") == NULL) {
if (!xf86LoaderCheckSymbol("DRIQueryDirectRenderingCapable")) {
LogMessage(X_ERROR, "AIGLX: DRI module not loaded\n");
return NULL;
}
......@@ -917,7 +917,7 @@ __glXDRIscreenProbe(ScreenPtr pScreen)
xfree(screen);
LogMessage(X_ERROR, "GLX-DRI: reverting to software rendering\n");
LogMessage(X_ERROR, "AIGLX: reverting to software rendering\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