diff options
Diffstat (limited to 'src/mapi/glapi/gen/gl_enums.py')
-rw-r--r-- | src/mapi/glapi/gen/gl_enums.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mapi/glapi/gen/gl_enums.py b/src/mapi/glapi/gen/gl_enums.py index 0ef0633c7b..a55479c744 100644 --- a/src/mapi/glapi/gen/gl_enums.py +++ b/src/mapi/glapi/gen/gl_enums.py @@ -35,8 +35,8 @@ import xml.etree.ElementTree as ET import gl_XML import license -class PrintGlEnums(gl_XML.gl_print_base): +class PrintGlEnums(gl_XML.gl_print_base): def __init__(self): gl_XML.gl_print_base.__init__(self) @@ -49,7 +49,6 @@ class PrintGlEnums(gl_XML.gl_print_base): # Mapping from enum name to value self.string_to_int = {} - def printRealHeader(self): print '#include "main/glheader.h"' print '#include "main/enums.h"' @@ -143,7 +142,6 @@ class PrintGlEnums(gl_XML.gl_print_base): """) return - def printBody(self, xml): self.process_enums(xml) @@ -173,7 +171,6 @@ class PrintGlEnums(gl_XML.gl_print_base): print '};' print '' - print 'static const enum_elt enum_string_table_offsets[%u] =' % (len(self.enum_table)) print '{' for enum in sorted_enum_values: |