summaryrefslogtreecommitdiff
path: root/src/mesa/glapi/glX_proto_size.py
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2005-10-10 17:11:02 +0000
committerIan Romanick <idr@us.ibm.com>2005-10-10 17:11:02 +0000
commit8d29d463a376d1fa7d48d50ef07bfb8682bb5444 (patch)
tree7f42ec4272aa7140b3d56d86c81495e039be45eb /src/mesa/glapi/glX_proto_size.py
parent1c0f11046a6dff2568bf42f213983df583b765b9 (diff)
Add 'get' data for glGetFramebufferAttachmentParameterivEXT enums.
Remove an extra closing parenthesis in the Linux version of the SWAP_32 macro.
Diffstat (limited to 'src/mesa/glapi/glX_proto_size.py')
-rw-r--r--src/mesa/glapi/glX_proto_size.py2
1 files changed, 1 insertions, 1 deletions
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)'