dri2: Don't make reference to noClientException
noClientException is now never filled in with a meaningful value, it's always -1. The sole caller of this function disregards the error value in any case. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
parent
dff435568b
commit
7d33ab0f8c
|
@ -297,7 +297,7 @@ __glXDRIcontextWait(__GLXcontext * baseContext,
|
|||
}
|
||||
|
||||
if (ret) {
|
||||
*error = cl->client->noClientException;
|
||||
*error = -1;
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue