diff options
author | Brian <[email protected]> | 2007-04-06 15:45:11 -0600 |
---|---|---|
committer | Brian <[email protected]> | 2007-04-06 15:45:11 -0600 |
commit | ae55d5322c9cff61f61e8df04bb0846332cc85ce (patch) | |
tree | aae13193092dcb103ab87219562a45dcb7993dba /src/mesa/vbo/vbo_exec_eval.c | |
parent | 92b7fa7b48691e95d33bc0580cfad858782622ac (diff) |
for evaluators, loop to VBO_ATTRIB_TEX7, not VBO_ATTRIB_INDEX. See bug 10543
Diffstat (limited to 'src/mesa/vbo/vbo_exec_eval.c')
-rw-r--r-- | src/mesa/vbo/vbo_exec_eval.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/vbo/vbo_exec_eval.c b/src/mesa/vbo/vbo_exec_eval.c index 99a80445763..fe533290bd1 100644 --- a/src/mesa/vbo/vbo_exec_eval.c +++ b/src/mesa/vbo/vbo_exec_eval.c @@ -135,7 +135,7 @@ void vbo_exec_do_EvalCoord1f(struct vbo_exec_context *exec, GLfloat u) { GLuint attr; - for (attr = 1; attr <= VBO_ATTRIB_INDEX; attr++) { + for (attr = 1; attr <= VBO_ATTRIB_TEX7; attr++) { struct gl_1d_map *map = exec->eval.map1[attr].map; if (map) { GLfloat uu = (u - map->u1) * map->du; @@ -180,7 +180,7 @@ void vbo_exec_do_EvalCoord2f( struct vbo_exec_context *exec, { GLuint attr; - for (attr = 1; attr <= VBO_ATTRIB_INDEX; attr++) { + for (attr = 1; attr <= VBO_ATTRIB_TEX7; attr++) { struct gl_2d_map *map = exec->eval.map2[attr].map; if (map) { GLfloat uu = (u - map->u1) * map->du; |