From ff71e3a513f9061bd0a107d9e0281bbfbf60ca35 Mon Sep 17 00:00:00 2001 From: Rico P Date: Sun, 1 Dec 2024 23:22:46 +0100 Subject: [PATCH] use unused variable. Fixes #4560 (#4561) --- src/rlgl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rlgl.h b/src/rlgl.h index 92971df6..c08623de 100644 --- a/src/rlgl.h +++ b/src/rlgl.h @@ -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 }