diff options
author | Keith Whitwell <keith@tungstengraphics.com> | 2006-11-02 11:40:56 +0000 |
---|---|---|
committer | Keith Whitwell <keith@tungstengraphics.com> | 2006-11-02 11:40:56 +0000 |
commit | 18d52f96bb1f20b1887b67e87506835bca05d73a (patch) | |
tree | bf67a5209a0baba78c151074a5cbb170056facf5 /src/mesa/vbo | |
parent | 9827dc8bea422b940f1efcfbd1c0d76f8bbca844 (diff) |
Fix typo in display list attrib binding.
Diffstat (limited to 'src/mesa/vbo')
-rw-r--r-- | src/mesa/vbo/vbo_save_draw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/vbo/vbo_save_draw.c b/src/mesa/vbo/vbo_save_draw.c index 527e57d6bd..ab3275ec94 100644 --- a/src/mesa/vbo/vbo_save_draw.c +++ b/src/mesa/vbo/vbo_save_draw.c @@ -124,7 +124,7 @@ static void vbo_bind_vertex_list( GLcontext *ctx, break; } - for (attr = 0; attr <= VBO_ATTRIB_INDEX; attr++) { + for (attr = 0; attr < VBO_ATTRIB_MAX; attr++) { if (node->attrsz[attr]) { arrays[attr].Ptr = (const GLubyte *)data; arrays[attr].Size = node->attrsz[attr]; |