glx: Replace some 'reserved' fields with explicit padding
authorIan Romanick <ian.d.romanick@intel.com>
Fri, 2 Dec 2011 23:08:57 +0000 (15:08 -0800)
committerPeter Harris <pharris@opentext.com>
Tue, 6 Dec 2011 20:13:04 +0000 (15:13 -0500)
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@intel.com>
Reviewed-by: Peter Harris <pharris@opentext.com>
Signed-off-by: Peter Harris <pharris@opentext.com>
src/glx.xml

index 544b543..f23105c 100644 (file)
@@ -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">