From 8d29d463a376d1fa7d48d50ef07bfb8682bb5444 Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Mon, 10 Oct 2005 17:11:02 +0000 Subject: [PATCH] Add 'get' data for glGetFramebufferAttachmentParameterivEXT enums. Remove an extra closing parenthesis in the Linux version of the SWAP_32 macro. --- src/mesa/glapi/EXT_framebuffer_object.xml | 20 +++++++++++++++----- src/mesa/glapi/glX_proto_size.py | 2 +- 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 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)' -- 2.30.2