From: Ian Romanick Date: Mon, 10 Oct 2005 17:11:02 +0000 (+0000) Subject: Add 'get' data for glGetFramebufferAttachmentParameterivEXT enums. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8d29d463a376d1fa7d48d50ef07bfb8682bb5444;p=mesa.git Add 'get' data for glGetFramebufferAttachmentParameterivEXT enums. Remove an extra closing parenthesis in the Linux version of the SWAP_32 macro. --- diff --git a/src/mesa/glapi/EXT_framebuffer_object.xml b/src/mesa/glapi/EXT_framebuffer_object.xml index 8e03a10a892..5057bdc8bf6 100644 --- a/src/mesa/glapi/EXT_framebuffer_object.xml +++ b/src/mesa/glapi/EXT_framebuffer_object.xml @@ -14,11 +14,21 @@ - - - - - + + + + + + + + + + + + + + + diff --git a/src/mesa/glapi/glX_proto_size.py b/src/mesa/glapi/glX_proto_size.py index ad9f44ecf1d..81a98423a4b 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 ' - 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 ' print '# define SWAP_32(v) do { char tmp; swapl(&v, tmp); } while(0)'