From 1e65817d057053460ea045b59954286d3cefe1f5 Mon Sep 17 00:00:00 2001 From: Ray Date: Tue, 20 Apr 2021 12:19:04 +0200 Subject: [PATCH] Update models.c --- src/models.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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