diff options
Diffstat (limited to 'src/mesa/glapi/glX_proto_send.py')
-rw-r--r-- | src/mesa/glapi/glX_proto_send.py | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/src/mesa/glapi/glX_proto_send.py b/src/mesa/glapi/glX_proto_send.py index d78e07ee5e9..1ac46c3b4cd 100644 --- a/src/mesa/glapi/glX_proto_send.py +++ b/src/mesa/glapi/glX_proto_send.py @@ -25,10 +25,6 @@ # Authors: # Ian Romanick <[email protected]> -from xml.sax import saxutils -from xml.sax import make_parser -from xml.sax.handler import feature_namespaces - import gl_XML import glX_XML import license @@ -889,13 +885,6 @@ if __name__ == '__main__': else: show_usage() - parser = make_parser() - parser.setFeature(feature_namespaces, 1) - parser.setContentHandler(dh) - - f = open(file_name) dh.debug = debug - dh.printHeader() - parser.parse(f) - dh.printFooter() + gl_XML.parse_GL_API( dh, file_name ) |