projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74745dc
)
mesa: remove needless cast in update_array()
author
Brian Paul
<brianp@vmware.com>
Fri, 7 Oct 2016 21:09:20 +0000
(15:09 -0600)
committer
Brian Paul
<brianp@vmware.com>
Thu, 13 Oct 2016 23:38:49 +0000
(17:38 -0600)
Reviewed-by: Mathias Fröhlich <mathias.froehlich@web.de>
src/mesa/main/varray.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/varray.c
b/src/mesa/main/varray.c
index 6c41a5c4e67b770d5c357752ec1c0d3d390d76af..9acd868662129a3b7fbc15d27a0a37b502397c38 100644
(file)
--- 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;