diff options
Diffstat (limited to 'src/mesa/glapi/gl_offsets.py')
-rw-r--r-- | src/mesa/glapi/gl_offsets.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mesa/glapi/gl_offsets.py b/src/mesa/glapi/gl_offsets.py index 2966e3b624..59f8d372b0 100644 --- a/src/mesa/glapi/gl_offsets.py +++ b/src/mesa/glapi/gl_offsets.py @@ -65,10 +65,8 @@ class PrintGlOffsets(gl_XML.gl_print_base): for [f, index] in functions: print '#define _gloffset_%s %d' % (f.name, f.offset) - if f.offset > last_static: - last_static = f.offset - print '#define _gloffset_FIRST_DYNAMIC %d' % (last_static + 1) + print '#define _gloffset_FIRST_DYNAMIC %d' % (api.next_offset) print '' print '#else' |