diff options
Diffstat (limited to 'src/mesa/glapi/glX_proto_send.py')
-rw-r--r-- | src/mesa/glapi/glX_proto_send.py | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/mesa/glapi/glX_proto_send.py b/src/mesa/glapi/glX_proto_send.py index 146d6620790..949a0c94334 100644 --- a/src/mesa/glapi/glX_proto_send.py +++ b/src/mesa/glapi/glX_proto_send.py @@ -126,8 +126,8 @@ class PrintGlxProtoStubs(glX_XML.GlxProto): print '' print '#define __GLX_PAD(n) (((n) + 3) & ~3)' print '' - glX_XML.printFastcall() - glX_XML.printNoinline() + self.printFastcall() + self.printNoinline() print '' print '#if !defined __GNUC__ || __GNUC__ < 3' print '# define __builtin_expect(x, y) x' @@ -769,11 +769,7 @@ class PrintGlxProtoInit_h(glX_XML.GlxProto): * \\author Ian Romanick <[email protected]> */ """ - glX_XML.printVisibility( "HIDDEN", "hidden" ) - - - def printRealFooter(self): - print "# undef HIDDEN" + self.printVisibility( "HIDDEN", "hidden" ) def printFunction(self, f): |