dri2proto: Branch 'dri2-swapbuffers'

Jesse Barnes jbarnes at kemper.freedesktop.org
Fri Oct 2 13:20:48 PDT 2009


 dri2proto.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 1102a9199db8aa08e891f808f8921a5d312e3197
Author: Jesse Barnes <jbarnes at virtuousgeek.org>
Date:   Fri Oct 2 22:23:09 2009 -0700

    Fix DRI2SwapBuffers reply length
    
    Length should be a CARD32 and match the endianness annotation.
    
    Signed-off-by: Jesse Barnes <jbarnes at virtuousgeek.org>

diff --git a/dri2proto.h b/dri2proto.h
index cee8a3c..85b9dbf 100644
--- a/dri2proto.h
+++ b/dri2proto.h
@@ -213,7 +213,7 @@ typedef struct {
     BYTE    type;   /* X_Reply */
     BYTE    pad1;
     CARD16  sequenceNumber B16;
-    CARD16  length B32;
+    CARD32  length B32;
     CARD32  swap_hi B32;
     CARD32  swap_lo B32;
 } xDRI2SwapBuffersReply;


More information about the xorg-commit mailing list