diff options
Diffstat (limited to 'src/mapi/glapi/gen/gl_genexec.py')
-rw-r--r-- | src/mapi/glapi/gen/gl_genexec.py | 2 |
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()): |