[rmodel] fix for devices without VAO support (#5692)
This commit is contained in:
parent
d7bd56ef1b
commit
51f4741912
|
|
@ -1281,7 +1281,6 @@ void UploadMesh(Mesh *mesh, bool dynamic)
|
|||
|
||||
#if defined(GRAPHICS_API_OPENGL_33) || defined(GRAPHICS_API_OPENGL_ES2)
|
||||
mesh->vaoId = rlLoadVertexArray();
|
||||
if (mesh->vaoId == 0) return;
|
||||
|
||||
rlEnableVertexArray(mesh->vaoId);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user