From 6d7e398150dde1c15b7f62f485cb33bad8f4d5c6 Mon Sep 17 00:00:00 2001 From: Jesse Barnes Date: Thu, 5 May 2011 13:10:39 -0700 Subject: glproto: add a new GLXBufferSwapComplete struct that matches the spec Just add a new struct to remain compatible with existing code. Reviewed-by: Ian Romanick Reviewed-by: Jeremy Huddleston Signed-off-by: Jesse Barnes --- configure.ac | 2 +- glxproto.h | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index a3047e4..a6c301c 100644 --- a/configure.ac +++ b/configure.ac @@ -1,5 +1,5 @@ AC_PREREQ([2.60]) -AC_INIT([GLProto], [1.4.13], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg]) +AC_INIT([GLProto], [1.4.14], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg]) AM_INIT_AUTOMAKE([foreign dist-bzip2]) AM_MAINTAINER_MODE diff --git a/glxproto.h b/glxproto.h index 0ff44e3..0446217 100644 --- a/glxproto.h +++ b/glxproto.h @@ -1384,6 +1384,20 @@ typedef struct { CARD32 sbc_lo B32; } xGLXBufferSwapComplete; +typedef struct { + BYTE type; + BYTE pad; + CARD16 sequenceNumber B16; + CARD16 event_type B16; + CARD16 pad2; + CARD32 drawable; + CARD32 ust_hi B32; + CARD32 ust_lo B32; + CARD32 msc_hi B32; + CARD32 msc_lo B32; + CARD32 sbc B32; +} xGLXBufferSwapComplete2; + /************************************************************************/ /* -- cgit v1.2.1