summaryrefslogtreecommitdiff
path: root/dri2proto.h
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@virtuousgeek.org>2009-10-02 22:23:09 -0700
committerJesse Barnes <jbarnes@virtuousgeek.org>2009-10-02 22:23:09 -0700
commit1102a9199db8aa08e891f808f8921a5d312e3197 (patch)
treecbcbbbe687954e3074a425c726cd29787e685e0b /dri2proto.h
parent29c7fcbf10508ec822ad528928b72702e4c9af01 (diff)
Fix DRI2SwapBuffers reply length
Length should be a CARD32 and match the endianness annotation. Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'dri2proto.h')
-rw-r--r--dri2proto.h2
1 files changed, 1 insertions, 1 deletions
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;