GL: Make errors non-fatal

GLX, there's more to the world than just you.  If you fail to load the
software renderer, don't bring the entire server down.

The error path probably needs better testing on this one, but it seems
mostly okay to me.
This commit is contained in:
Daniel Stone 2008-05-07 22:28:45 +03:00
parent b6a0c6d486
commit 268d61e00c
2 changed files with 2 additions and 2 deletions

View File

@ -288,7 +288,7 @@ void GlxExtensionInit(void)
__glXDispatch, ResetExtension,
StandardMinorOpcode);
if (!extEntry) {
FatalError("__glXExtensionInit: AddExtensions failed\n");
ErrorF("__glXExtensionInit: AddExtensions failed\n");
return;
}
if (!AddExtensionAlias(GLX_EXTENSION_ALIAS, extEntry)) {

View File

@ -510,7 +510,7 @@ handle_error:
xfree(screen);
FatalError("GLX: could not load software renderer\n");
ErrorF("GLX: could not load software renderer\n");
return NULL;
}