diff options
-rw-r--r-- | src/mesa/main/varray.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/varray.c b/src/mesa/main/varray.c index 6c41a5c4e67..9acd8686621 100644 --- a/src/mesa/main/varray.c +++ b/src/mesa/main/varray.c @@ -527,7 +527,7 @@ update_array(struct gl_context *ctx, /* The Stride and Ptr fields are not set by update_array_format() */ array = &vao->VertexAttrib[attrib]; array->Stride = stride; - array->Ptr = (const GLvoid *) ptr; + array->Ptr = ptr; /* Update the vertex buffer binding */ effectiveStride = stride != 0 ? stride : array->_ElementSize; |