glapi: remap_helper.py: remove unused argument 'es'
authorEmil Velikov <emil.l.velikov@gmail.com>
Thu, 18 Jun 2015 22:30:34 +0000 (23:30 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Tue, 23 Jun 2015 15:57:27 +0000 (16:57 +0100)
Identical to the previous commit - unused by neither the Autotools,
Android or SCons build.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Dylan Baker <baker.dylan.c@gmail.com>
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/mapi/glapi/gen/remap_helper.py

index 94ae1936d211a174837f30c5e45a34711ee1bfc7..edc6c3e14b68717f6ae950bd965c581f8c03ad8b 100644 (file)
@@ -174,12 +174,6 @@ def _parser():
                         metavar="input_file_name",
                         dest='file_name',
                         help="An xml description file.")
-    parser.add_argument('-c', '--es-version',
-                        choices=[None, 'es1', 'es2'],
-                        default=None,
-                        metavar='ver',
-                        dest='es',
-                        help='A GLES version to support')
     return parser.parse_args()
 
 
@@ -188,8 +182,6 @@ def main():
     args = _parser()
 
     api = gl_XML.parse_GL_API(args.file_name)
-    if args.es is not None:
-        api.filter_functions_by_api(args.es)
 
     printer = PrintGlRemap()
     printer.Print(api)