mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-18 09:18:15 +00:00
Update models.c
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user