glx: missing swrast is fatal

This commit is contained in:
George Sapountzis 2008-05-23 22:38:36 +03:00
commit 877e6c35ff
2 changed files with 4 additions and 3 deletions

View file

@ -86,8 +86,9 @@ glxSetup(pointer module, pointer opts, int *errmaj, int *errmin)
setupDone = TRUE;
provider = LoaderSymbol("__glXDRIswrastProvider");
if (provider)
GlxPushProvider(provider);
if (provider == NULL)
return NULL;
GlxPushProvider(provider);
xf86Msg(xf86Info.aiglxFrom, "AIGLX %s\n",
xf86Info.aiglx ? "enabled" : "disabled");