From: Brian Paul Date: Thu, 21 May 2009 21:36:25 +0000 (-0600) Subject: mesa: call _mesa_update_array_object_max_element() before printing array info X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8fe3134622eed34159ff6f72a33558a659e8d299;p=mesa.git mesa: call _mesa_update_array_object_max_element() before printing array info --- diff --git a/src/mesa/main/varray.c b/src/mesa/main/varray.c index 8e6ef9caa5d..ac305389250 100644 --- 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);