projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f9ee06
)
vbo: fix incorrect pointer
author
Brian Paul
<brianp@vmware.com>
Wed, 12 Aug 2009 19:16:41 +0000
(13:16 -0600)
committer
Brian Paul
<brianp@vmware.com>
Wed, 12 Aug 2009 19:16:41 +0000
(13:16 -0600)
src/mesa/vbo/vbo_exec_array.c
patch
|
blob
|
history
diff --git
a/src/mesa/vbo/vbo_exec_array.c
b/src/mesa/vbo/vbo_exec_array.c
index 4fb4845f6b6c5bf184f8a7bb281ea82b1dd9ca27..2693ae62c2ec5744979f89ad91a6d929aa4d2ea5 100644
(file)
--- 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 *)i
b->ptr
;
+ const GLuint *ui_indices = (const GLuint *)i
ndices
;
GLuint max_ui = ui_indices[count-1];
GLuint min_ui = ui_indices[0];
for (i = 0; i < count; i++) {