Skip to content

Commit 51f4741

Browse files
authored
[rmodel] fix for devices without VAO support (#5692)
1 parent d7bd56e commit 51f4741

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/rmodels.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1281,7 +1281,6 @@ void UploadMesh(Mesh *mesh, bool dynamic)
12811281

12821282
#if defined(GRAPHICS_API_OPENGL_33) || defined(GRAPHICS_API_OPENGL_ES2)
12831283
mesh->vaoId = rlLoadVertexArray();
1284-
if (mesh->vaoId == 0) return;
12851284

12861285
rlEnableVertexArray(mesh->vaoId);
12871286

0 commit comments

Comments
 (0)