summaryrefslogtreecommitdiffstats
path: root/src/mapi/glapi/gen/gl_genexec.py
diff options
context:
space:
mode:
authorPaul Berry <[email protected]>2012-11-07 09:29:20 -0800
committerPaul Berry <[email protected]>2012-11-12 10:53:57 -0800
commit55b81ff56b89ef21747e022896674dd024b9ec7e (patch)
treeb219ac4226e8ffbd38873f9ed5c005b005246371 /src/mapi/glapi/gen/gl_genexec.py
parentbb3db388d8d4c7c2276a1db27fadaa1c57f1b39c (diff)
glapi: Remove handling of mesa_name XML attribute.
Previously, we used the mesa_name XML attribute to make the code generation scripts aware of any instances where the Mesa implementation of a function had a different function name suffix than the primary name in the XML. Now that all of the Mesa implementation functions have been renamed to match the XML, this attribute is no longer necessary. Acked-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mapi/glapi/gen/gl_genexec.py')
-rw-r--r--src/mapi/glapi/gen/gl_genexec.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mapi/glapi/gen/gl_genexec.py b/src/mapi/glapi/gen/gl_genexec.py
index adfa5957ef0..ee36beeac1a 100644
--- a/src/mapi/glapi/gen/gl_genexec.py
+++ b/src/mapi/glapi/gen/gl_genexec.py
@@ -189,7 +189,7 @@ class PrintCode(gl_XML.gl_print_base):
# dynamically.
continue
settings_by_condition[condition].append(
- 'SET_{0}(exec, {1}{2});'.format(f.name, prefix, f.mesa_name))
+ 'SET_{0}(exec, {1}{0});'.format(f.name, prefix, f.name))
# Print out an if statement for each unique condition, with
# the SET_* calls nested inside it.
for condition in sorted(settings_by_condition.keys()):