summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorRay <[email protected]>2021-04-20 12:19:04 +0200
committerRay <[email protected]>2021-04-20 12:19:04 +0200
commit1e65817d057053460ea045b59954286d3cefe1f5 (patch)
tree74526395b91b542e29c2dffc6238b5ca998c40f1 /src
parent3bf9ea1a4b54e9dc87ab258e8818a91d8c96c9cb (diff)
downloadraylib-1e65817d057053460ea045b59954286d3cefe1f5.tar.gz
raylib-1e65817d057053460ea045b59954286d3cefe1f5.zip
Update models.c
Diffstat (limited to 'src')
-rw-r--r--src/models.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/models.c b/src/models.c
index d03d1040..b970a483 100644
--- a/src/models.c
+++ b/src/models.c
@@ -928,7 +928,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)
{
- rlUpdateVertexBuffer(mesh->vboId[index], data, dataSize, offset);
+ rlUpdateVertexBuffer(mesh.vboId[index], data, dataSize, offset);
}
// Draw a 3d mesh with material and transform