diff options
Diffstat (limited to 'src/mesa/glapi/gl_enums.py')
-rw-r--r-- | src/mesa/glapi/gl_enums.py | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/src/mesa/glapi/gl_enums.py b/src/mesa/glapi/gl_enums.py index 177c95f6edd..615f79729cf 100644 --- a/src/mesa/glapi/gl_enums.py +++ b/src/mesa/glapi/gl_enums.py @@ -26,10 +26,6 @@ # Authors: # Zack Rusin <[email protected]> -from xml.sax import saxutils -from xml.sax import make_parser -from xml.sax.handler import feature_namespaces - import license import gl_XML import sys, getopt @@ -235,13 +231,4 @@ if __name__ == '__main__': file_name = val dh = PrintGlEnums() - - parser = make_parser() - parser.setFeature(feature_namespaces, 1) - parser.setContentHandler(dh) - - f = open(file_name) - - dh.printHeader() - parser.parse(f) - dh.printFooter() + gl_XML.parse_GL_API( dh, file_name ) |