summaryrefslogtreecommitdiff
path: root/glx/glxdriswrast.c
diff options
context:
space:
mode:
authorDaniel Drake <dsd@laptop.org>2008-07-24 21:06:34 -0500
committerDaniel Drake <dsd@gentoo.org>2008-07-24 21:06:34 -0500
commiteff25430b4a391409e39337962ff7697165d23c7 (patch)
treed20cf4012009a856dbf1b607c42b9b22da1e9965 /glx/glxdriswrast.c
parent62b5690415786c4a6e8bac464aa8db578beb74f5 (diff)
Don't abort if swrast library is not present
GLX is enabled by default, but the current swrast behaviour causes X to abort with fatal error if the swrast dri library dlopen fails. Handle the case where the swrast library is not present, and do not register the GLX extension unless at least one screen has a usable GL provider.
Diffstat (limited to 'glx/glxdriswrast.c')
-rw-r--r--glx/glxdriswrast.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/glx/glxdriswrast.c b/glx/glxdriswrast.c
index 199f5f842..28597044f 100644
--- a/glx/glxdriswrast.c
+++ b/glx/glxdriswrast.c
@@ -515,7 +515,7 @@ __glXDRIscreenProbe(ScreenPtr pScreen)
xfree(screen);
- FatalError("GLX: could not load software renderer\n");
+ LogMessage(X_ERROR, "GLX: could not load software renderer\n");
return NULL;
}