summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/varray.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/varray.c b/src/mesa/main/varray.c
index 7879e0079b8..ea11857a98d 100644
--- a/src/mesa/main/varray.c
+++ b/src/mesa/main/varray.c
@@ -1068,7 +1068,7 @@ print_array(const char *name, GLint index, const struct gl_client_array *array)
void
_mesa_print_arrays(GLcontext *ctx)
{
- const struct gl_array_object *arrayObj = ctx->Array.ArrayObj;
+ struct gl_array_object *arrayObj = ctx->Array.ArrayObj;
GLuint i;
_mesa_update_array_object_max_element(ctx, arrayObj);