mirror of
https://github.com/raysan5/raylib.git
synced 2026-04-10 01:09:10 -04: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