Add 'get' data for glGetFramebufferAttachmentParameterivEXT enums.
authorIan Romanick <idr@us.ibm.com>
Mon, 10 Oct 2005 17:11:02 +0000 (17:11 +0000)
committerIan Romanick <idr@us.ibm.com>
Mon, 10 Oct 2005 17:11:02 +0000 (17:11 +0000)
Remove an extra closing parenthesis in the Linux version of the SWAP_32 macro.

src/mesa/glapi/EXT_framebuffer_object.xml
src/mesa/glapi/glX_proto_size.py

index 8e03a10..5057bdc 100644 (file)
     <enum name="STENCIL_INDEX8_EXT"                       value="0x8D48"/>
     <enum name="STENCIL_INDEX16_EXT"                      value="0x8D49"/>
 
-    <enum name="FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT"   value="0x8CD0"/>
-    <enum name="FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT"   value="0x8CD1"/>
-    <enum name="FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT" value="0x8CD2"/>
-    <enum name="FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT" value="0x8CD3"/>
-    <enum name="FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT"    value="0x8CD4"/>
+    <enum name="FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT"   count="1" value="0x8CD0">
+        <size name="GetFramebufferAttachmentParameterivEXT" mode="get"/>
+    </enum>
+    <enum name="FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT"   count="1" value="0x8CD1">
+        <size name="GetFramebufferAttachmentParameterivEXT" mode="get"/>
+    </enum>
+    <enum name="FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT" count="1" value="0x8CD2">
+        <size name="GetFramebufferAttachmentParameterivEXT" mode="get"/>
+    </enum>
+    <enum name="FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT" count="1" value="0x8CD3">
+        <size name="GetFramebufferAttachmentParameterivEXT" mode="get"/>
+    </enum>
+    <enum name="FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT"    count="1" value="0x8CD4">
+        <size name="GetFramebufferAttachmentParameterivEXT" mode="get"/>
+    </enum>
 
     <enum name="COLOR_ATTACHMENT0_EXT"                    value="0x8CE0"/>
     <enum name="COLOR_ATTACHMENT1_EXT"                    value="0x8CE1"/>
index ad9f44e..81a9842 100644 (file)
@@ -450,7 +450,7 @@ class PrintGlxReqSize_c(PrintGlxReqSize_common):
                print ''
                print '#if defined(linux)'
                print '#  include <byteswap.h>'
-               print '#  define SWAP_32(v)  do { (v) = bswap_32(v)); } while(0)'
+               print '#  define SWAP_32(v)  do { (v) = bswap_32(v); } while(0)'
                print '#else'
                print '#  include <X11/misc.h>'
                print '#  define SWAP_32(v)  do { char tmp; swapl(&v, tmp); } while(0)'