[Xcb] [PATCH 1/2] glx: Replace some 'reserved' fields with explicit padding

Ian Romanick idr at freedesktop.org
Wed Nov 30 10:01:11 PST 2011


From: Ian Romanick <ian.d.romanick at intel.com>

In the GLX protocol specs, the various fields named 'reserved' are
just there to provide alignment padding.

Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
---
 src/glx.xml |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/src/glx.xml b/src/glx.xml
index 544b543..f23105c 100644
--- a/src/glx.xml
+++ b/src/glx.xml
@@ -371,8 +371,7 @@ The patch that fixed this server bug in X.org CVS is here:
 		<field type="CARD32" name="render_type" />
 		<field type="CARD32" name="share_list" />
 		<field type="BOOL" name="is_direct" />
-		<field type="CARD8" name="reserved1" />
-		<field type="CARD16" name="reserved2" />
+		<pad bytes="3" />
 	</request>
 
 	<request name="QueryContext" opcode="25">
-- 
1.7.6.4



More information about the Xcb mailing list