xserver: Branch 'master'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Jan 28 18:51:55 UTC 2020


 glx/glxdri2.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e1fa3beb2fe2519e69f859f0acdc68e5a770de27
Author: Adam Jackson <ajax at redhat.com>
Date:   Tue Jan 28 13:26:41 2020 -0500

    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 7d33ab0f8c7958b205076f71e4b47c24aace77fd.
    
    Fixes: https://gitlab.freedesktop.org/xorg/xserver/issues/211

diff --git a/glx/glxdri2.c b/glx/glxdri2.c
index d402ca860..822515a86 100644
--- a/glx/glxdri2.c
+++ b/glx/glxdri2.c
@@ -295,7 +295,7 @@ __glXDRIcontextWait(__GLXcontext * baseContext,
     }
 
     if (ret) {
-        *error = -1;
+        *error = cl->client->noClientException;
         return TRUE;
     }
 


More information about the xorg-commit mailing list