summaryrefslogtreecommitdiffstats
path: root/src/mesa/vbo/vbo_exec_array.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-08-12 13:16:41 -0600
committerBrian Paul <[email protected]>2009-08-12 13:16:41 -0600
commit855374a76a6e83cc0ad4af143b74e655e7b77d5e (patch)
treebb5badc826b7049fdedfdbb9deafdd8e729dee1d /src/mesa/vbo/vbo_exec_array.c
parent8f9ee069250fe65bc19c5859963ee85db96e24e1 (diff)
vbo: fix incorrect pointer
Diffstat (limited to 'src/mesa/vbo/vbo_exec_array.c')
-rw-r--r--src/mesa/vbo/vbo_exec_array.c2
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 4fb4845f6b6..2693ae62c2e 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++) {