Revert "dri2: Don't make reference to noClientException"

It's true that the value would always be -1, if it's not zero, but it's
usually zero is the problem. As a result we return failure from
otherwise successful indirect GLX paths, which isn't very nice of us.

This reverts commit 7d33ab0f8c.

Fixes: https://gitlab.freedesktop.org/xorg/xserver/issues/211
(cherry picked from commit e1fa3beb2f)
This commit is contained in:
Adam Jackson 2020-02-06 17:55:25 +01:00 committed by Michel Dänzer
parent d845ceae53
commit e5293f1c5d

View File

@ -295,7 +295,7 @@ __glXDRIcontextWait(__GLXcontext * baseContext,
}
if (ret) {
*error = -1;
*error = cl->client->noClientException;
return TRUE;
}