summaryrefslogtreecommitdiffstats
path: root/src/mesa/glapi/glX_proto_send.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/glapi/glX_proto_send.py')
-rw-r--r--src/mesa/glapi/glX_proto_send.py11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/mesa/glapi/glX_proto_send.py b/src/mesa/glapi/glX_proto_send.py
index 7216b699720..146d6620790 100644
--- a/src/mesa/glapi/glX_proto_send.py
+++ b/src/mesa/glapi/glX_proto_send.py
@@ -758,28 +758,23 @@ class PrintGlxProtoInit_h(glX_XML.GlxProto):
self.license = license.bsd_license_template % ( \
"""Copyright 1998-1999 Precision Insight, Inc., Cedar Park, Texas.
(C) Copyright IBM Corporation 2004""", "PRECISION INSIGHT, IBM")
-
+ self.header_tag = "_INDIRECT_H_"
def printRealHeader(self):
- print """
-/**
+ print """/**
* \\file
* Prototypes for indirect rendering functions.
*
* \\author Kevin E. Martin <[email protected]>
* \\author Ian Romanick <[email protected]>
*/
-
-#if !defined( _INDIRECT_H_ )
-# define _INDIRECT_H_
-
"""
glX_XML.printVisibility( "HIDDEN", "hidden" )
def printRealFooter(self):
print "# undef HIDDEN"
- print "#endif /* !defined( _INDIRECT_H_ ) */"
+
def printFunction(self, f):
if f.fn_offset < 0 or f.ignore: return