mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-25 10:22:33 -05:00
REVIEWED: Some functions input parametes that should be const
This commit is contained in:
@ -1174,7 +1174,7 @@ void UploadMesh(Mesh *mesh, bool dynamic)
|
||||
}
|
||||
|
||||
// Update mesh vertex data in GPU for a specific buffer index
|
||||
void UpdateMeshBuffer(Mesh mesh, int index, void *data, int dataSize, int offset)
|
||||
void UpdateMeshBuffer(Mesh mesh, int index, const void *data, int dataSize, int offset)
|
||||
{
|
||||
rlUpdateVertexBuffer(mesh.vboId[index], data, dataSize, offset);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user