summaryrefslogtreecommitdiffstats
path: root/src/mesa/glapi/gl_procs.py
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2006-03-06 18:31:50 +0000
committerIan Romanick <[email protected]>2006-03-06 18:31:50 +0000
commit3bca4f679a411246306e7e141c562253cb5f4c2d (patch)
tree3861019f9e87f4054e976832db778a1fa0728e41 /src/mesa/glapi/gl_procs.py
parent9d881ea718e3d9139ed9de7922d758978f650381 (diff)
Later versions of Python handle formats like '% 5u' differently. For
whatever reason, a space is always inserted. That is not the desired behavior.
Diffstat (limited to 'src/mesa/glapi/gl_procs.py')
-rw-r--r--src/mesa/glapi/gl_procs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/glapi/gl_procs.py b/src/mesa/glapi/gl_procs.py
index 1ad683de5c7..76131b83a0b 100644
--- a/src/mesa/glapi/gl_procs.py
+++ b/src/mesa/glapi/gl_procs.py
@@ -113,7 +113,7 @@ class PrintGlProcs(gl_XML.gl_print_base):
print 'static const glprocs_table_t static_functions[] = {'
for (offset, disp_name, real_name) in table:
- print ' NAME_FUNC_OFFSET( % 5u, gl%s, _gloffset_%s ),' % (offset, disp_name, real_name)
+ print ' NAME_FUNC_OFFSET( %5u, gl%s, _gloffset_%s ),' % (offset, disp_name, real_name)
print ' NAME_FUNC_OFFSET( -1, NULL, 0 )'
print '};'