summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mapi/glapi/gen/gl_XML.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mapi/glapi/gen/gl_XML.py b/src/mapi/glapi/gen/gl_XML.py
index 34f987ee3b..a860b0d84f 100644
--- a/src/mapi/glapi/gen/gl_XML.py
+++ b/src/mapi/glapi/gen/gl_XML.py
@@ -243,13 +243,12 @@ class gl_print_base(object):
def real_function_name(element):
- name = element.get("name")
alias = element.get("alias")
if alias:
return alias
else:
- return name
+ return element.get("name")
def real_category_name(c):