Update models.c
This commit is contained in:
parent
3bf9ea1a4b
commit
1e65817d05
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue