mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 15:38:09 +02:00
mesa: remove needless cast in update_array()
Reviewed-by: Mathias Fröhlich <mathias.froehlich@web.de>
This commit is contained in:
parent
74745dcfa4
commit
d6b0002195
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue