rlDrawMeshInstanced OpenGL 3.3 and VAO checks

This commit is contained in:
Sean Pringle 2020-07-19 01:28:42 +10:00
parent 3ef32e7eb9
commit f767771b4f

View File

@ -2839,7 +2839,7 @@ void rlDrawMeshInstanced(Mesh mesh, Material material, int count, Matrix *transf
#if defined(GRAPHICS_API_OPENGL_33) #if defined(GRAPHICS_API_OPENGL_33)
if (!RLGL.ExtSupported.vao) { if (!RLGL.ExtSupported.vao) {
TRACELOG(LOG_INFO, "VAO: Instanced rendering requires VAO support"); TRACELOG(LOG_ERROR, "VAO: Instanced rendering requires VAO support");
return; return;
} }
@ -2943,7 +2943,7 @@ void rlDrawMeshInstanced(Mesh mesh, Material material, int count, Matrix *transf
RLGL.State.modelview = matView; RLGL.State.modelview = matView;
#else #else
TRACELOG(LOG_INFO, "VAO: Instanced rendering requires GRAPHICS_API_OPENGL_33"); TRACELOG(LOG_ERROR, "VAO: Instanced rendering requires GRAPHICS_API_OPENGL_33");
#endif #endif
} }