mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 17:58:26 +02:00
mesa: call _mesa_update_array_object_max_element() before printing array info
This commit is contained in:
parent
8fa0cb2b42
commit
8fe3134622
1 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue