Update models.c
This commit is contained in:
parent
3bf9ea1a4b
commit
1e65817d05
@ -928,7 +928,7 @@ void UploadMesh(Mesh *mesh, bool dynamic)
|
|||||||
// Update mesh vertex data in GPU for a specific buffer index
|
// 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, void *data, int dataSize, int offset)
|
||||||
{
|
{
|
||||||
rlUpdateVertexBuffer(mesh->vboId[index], data, dataSize, offset);
|
rlUpdateVertexBuffer(mesh.vboId[index], data, dataSize, offset);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Draw a 3d mesh with material and transform
|
// Draw a 3d mesh with material and transform
|
||||||
|
Loading…
Reference in New Issue
Block a user