projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8fa0cb2
)
mesa: call _mesa_update_array_object_max_element() before printing array info
author
Brian Paul
<brianp@vmware.com>
Thu, 21 May 2009 21:36:25 +0000
(15:36 -0600)
committer
Brian Paul
<brianp@vmware.com>
Thu, 21 May 2009 22:10:45 +0000
(16:10 -0600)
src/mesa/main/varray.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/varray.c
b/src/mesa/main/varray.c
index 8e6ef9caa5debf81d8f3f8b1501eb88eeaf454f6..ac3053892505399faf3a88f8d58dccf99925dd89 100644
(file)
--- a/
src/mesa/main/varray.c
+++ b/
src/mesa/main/varray.c
@@
-1060,6
+1060,8
@@
_mesa_print_arrays(GLcontext *ctx)
const struct gl_array_object *arrayObj = ctx->Array.ArrayObj;
GLuint i;
+ _mesa_update_array_object_max_element(ctx, arrayObj);
+
_mesa_printf("Array Object %u\n", arrayObj->Name);
if (arrayObj->Vertex.Enabled)
print_array("Vertex", -1, &arrayObj->Vertex);