diff options
author | Brian Paul <[email protected]> | 2016-10-07 15:09:20 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2016-10-13 17:38:49 -0600 |
commit | d6b00021950a03fc6ff39e63f4c079b956c80c92 (patch) | |
tree | 642b49eded19d2bd05d94a82396c29f8643530df /src/mesa/main/varray.c | |
parent | 74745dcfa4c17c9d1ec3ce5021bab76fdb4d3b3b (diff) |
mesa: remove needless cast in update_array()
Reviewed-by: Mathias Fröhlich <[email protected]>
Diffstat (limited to 'src/mesa/main/varray.c')
-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; |