summaryrefslogtreecommitdiffstats
path: root/src/mesa/glapi/gl_enums.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/glapi/gl_enums.py')
-rw-r--r--src/mesa/glapi/gl_enums.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/glapi/gl_enums.py b/src/mesa/glapi/gl_enums.py
index 33d621dcd6f..e8c0576fd9b 100644
--- a/src/mesa/glapi/gl_enums.py
+++ b/src/mesa/glapi/gl_enums.py
@@ -161,7 +161,7 @@ int _mesa_lookup_enum_by_name( const char *symbol )
print 'static const enum_elt all_enums[%u] =' % (len(name_table))
print '{'
for [name, enum] in name_table:
- print ' { % 5u, 0x%08X }, /* %s */' % (string_offsets[name], enum, name)
+ print ' { %5u, 0x%08X }, /* %s */' % (string_offsets[name], enum, name)
print '};'
print ''
@@ -174,7 +174,7 @@ int _mesa_lookup_enum_by_name( const char *symbol )
else:
i = name_table.index( [name, enum] )
- print ' % 4u, /* %s */' % (i, name)
+ print ' %4u, /* %s */' % (i, name)
print '};'