use unused variable. Fixes #4560

This commit is contained in:
Rico P 2024-12-01 23:19:56 +01:00 committed by GitHub
parent e181069c62
commit 3ce622ebe2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3959,7 +3959,7 @@ void rlDrawVertexArrayElements(int offset, int count, const void *buffer)
void rlDrawVertexArrayInstanced(int offset, int count, int instances)
{
#if defined(GRAPHICS_API_OPENGL_33) || defined(GRAPHICS_API_OPENGL_ES2)
glDrawArraysInstanced(GL_TRIANGLES, 0, count, instances);
glDrawArraysInstanced(GL_TRIANGLES, offset, count, instances);
#endif
}