diff options
author | Adam Jackson <ajax@redhat.com> | 2016-06-28 15:54:44 -0400 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2016-09-02 13:41:32 -0400 |
commit | 7d33ab0f8c7958b205076f71e4b47c24aace77fd (patch) | |
tree | f1f5faa533c95e6e6b4a938a7b7b3f793c6612de /glx | |
parent | dff435568b40286df2bf7a66e870f9ae5f4eb9bd (diff) |
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>
Diffstat (limited to 'glx')
-rw-r--r-- | glx/glxdri2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/glx/glxdri2.c b/glx/glxdri2.c index afaf44e7e..3a95a8f8c 100644 --- a/glx/glxdri2.c +++ b/glx/glxdri2.c @@ -297,7 +297,7 @@ __glXDRIcontextWait(__GLXcontext * baseContext, } if (ret) { - *error = cl->client->noClientException; + *error = -1; return TRUE; } |