Originally I planned to make it more efficient, but then realized that it wasn't actually used anywhere, so lets just delete it.
Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com> --- src/mapi/glapi/gen/gl_XML.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/mapi/glapi/gen/gl_XML.py b/src/mapi/glapi/gen/gl_XML.py index 42fcc41..9298995 100644 --- a/src/mapi/glapi/gen/gl_XML.py +++ b/src/mapi/glapi/gen/gl_XML.py @@ -958,16 +958,6 @@ class gl_api(object): def functionIterateAll(self): return self.functions_by_name.itervalues() - def enumIterateByName(self): - keys = self.enums_by_name.keys() - keys.sort() - - list = [] - for enum in keys: - list.append(self.enums_by_name[enum]) - - return iter(list) - def categoryIterate(self): """Iterate over categories. -- 2.8.0 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev