[PATCH xserver 3/3] dri2: Don't make reference to noClientException

Adam Jackson ajax at redhat.com
Tue Jun 28 19:54:44 UTC 2016


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.

Signed-off-by: Adam Jackson <ajax at redhat.com>
---
 glx/glxdri2.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/glx/glxdri2.c b/glx/glxdri2.c
index afaf44e..3a95a8f 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;
     }
 
-- 
2.7.4



More information about the xorg-devel mailing list