diff options
author | Brian Paul <brianp@vmware.com> | 2009-08-12 13:16:41 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-08-12 13:16:41 -0600 |
commit | 855374a76a6e83cc0ad4af143b74e655e7b77d5e (patch) | |
tree | bb5badc826b7049fdedfdbb9deafdd8e729dee1d /src/mesa/vbo/vbo_exec_array.c | |
parent | 8f9ee069250fe65bc19c5859963ee85db96e24e1 (diff) |
vbo: fix incorrect pointer
Diffstat (limited to 'src/mesa/vbo/vbo_exec_array.c')
-rw-r--r-- | src/mesa/vbo/vbo_exec_array.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/vbo/vbo_exec_array.c b/src/mesa/vbo/vbo_exec_array.c index 4fb4845f6b..2693ae62c2 100644 --- a/src/mesa/vbo/vbo_exec_array.c +++ b/src/mesa/vbo/vbo_exec_array.c @@ -63,7 +63,7 @@ vbo_get_minmax_index(GLcontext *ctx, switch (ib->type) { case GL_UNSIGNED_INT: { - const GLuint *ui_indices = (const GLuint *)ib->ptr; + const GLuint *ui_indices = (const GLuint *)indices; GLuint max_ui = ui_indices[count-1]; GLuint min_ui = ui_indices[0]; for (i = 0; i < count; i++) { |