summaryrefslogtreecommitdiff
path: root/GL
diff options
context:
space:
mode:
authorAdam Jackson <ajax@benzedrine.nwnk.net>2007-06-02 16:13:01 -0400
committerAdam Jackson <ajax@benzedrine.nwnk.net>2007-06-02 16:13:01 -0400
commit21e8f4eb02842f877336db08c332d8ee4a381ee0 (patch)
tree11b5c6864c201bdcbe98940efe7914b94240ecfb /GL
parent0e1384d8318637f75d04d3d1b7600f7cad40117e (diff)
Don't print lack of DRI support as an error in AIGLX init.
Diffstat (limited to 'GL')
-rw-r--r--GL/glx/glxdri.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/GL/glx/glxdri.c b/GL/glx/glxdri.c
index d93d46046..156e8468c 100644
--- a/GL/glx/glxdri.c
+++ b/GL/glx/glxdri.c
@@ -1001,13 +1001,10 @@ __glXDRIscreenProbe(ScreenPtr pScreen)
size_t buffer_size;
ScrnInfoPtr pScrn = xf86Screens[pScreen->myNum];
- if (!xf86LoaderCheckSymbol("DRIQueryDirectRenderingCapable")) {
- LogMessage(X_ERROR, "AIGLX: DRI module not loaded\n");
- return NULL;
- }
-
- if (!DRIQueryDirectRenderingCapable(pScreen, &isCapable) || !isCapable) {
- LogMessage(X_ERROR,
+ if (!xf86LoaderCheckSymbol("DRIQueryDirectRenderingCapable") ||
+ !DRIQueryDirectRenderingCapable(pScreen, &isCapable) ||
+ !isCapable) {
+ LogMessage(X_INFO,
"AIGLX: Screen %d is not DRI capable\n", pScreen->myNum);
return NULL;
}