mirror of
https://github.com/raysan5/raylib.git
synced 2026-03-29 03:42:04 +00:00
[rmodel] fix for devices without VAO support (#5692)
This commit is contained in:
committed by
GitHub
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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user