summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mesa/glapi/EXT_framebuffer_object.xml20
-rw-r--r--src/mesa/glapi/glX_proto_size.py2
2 files changed, 16 insertions, 6 deletions
diff --git a/src/mesa/glapi/EXT_framebuffer_object.xml b/src/mesa/glapi/EXT_framebuffer_object.xml
index 8e03a10a89..5057bdc8bf 100644
--- a/src/mesa/glapi/EXT_framebuffer_object.xml
+++ b/src/mesa/glapi/EXT_framebuffer_object.xml
@@ -14,11 +14,21 @@
<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"/>
diff --git a/src/mesa/glapi/glX_proto_size.py b/src/mesa/glapi/glX_proto_size.py
index ad9f44ecf1..81a98423a4 100644
--- a/src/mesa/glapi/glX_proto_size.py
+++ b/src/mesa/glapi/glX_proto_size.py
@@ -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)'