mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-22 03:08:24 +00: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