REVIEWED: Some functions input parametes that should be const

This commit is contained in:
raysan5 2022-02-20 20:35:28 +01:00
parent 68bad6986d
commit 937e7b3dd9
6 changed files with 35 additions and 34 deletions

View file

@ -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);
}