summaryrefslogtreecommitdiffstats
path: root/src/mapi/glapi/gen/remap_helper.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mapi/glapi/gen/remap_helper.py')
-rw-r--r--src/mapi/glapi/gen/remap_helper.py9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/mapi/glapi/gen/remap_helper.py b/src/mapi/glapi/gen/remap_helper.py
index eae1cf3e5ea..e1a13d0b3dd 100644
--- a/src/mapi/glapi/gen/remap_helper.py
+++ b/src/mapi/glapi/gen/remap_helper.py
@@ -186,14 +186,7 @@ if __name__ == '__main__':
api = gl_XML.parse_GL_API( file_name )
if es is not None:
- import gles_api
-
- api_map = {
- 'es1': gles_api.es1_api,
- 'es2': gles_api.es2_api,
- }
-
- api.filter_functions(api_map[es])
+ api.filter_functions_by_api(es)
printer = PrintGlRemap()
printer.Print( api )