From 87257e9d1535d1c83477956b791af907c75cd4a9 Mon Sep 17 00:00:00 2001 From: Antonis Geralis <43617260+planetis-m@users.noreply.github.com> Date: Sat, 19 Feb 2022 16:40:04 +0200 Subject: [PATCH] make const --- src/rmodels.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rmodels.c b/src/rmodels.c index 223414cde..4fb6465e1 100644 --- a/src/rmodels.c +++ b/src/rmodels.c @@ -1404,7 +1404,7 @@ void DrawMesh(Mesh mesh, Material material, Matrix transform) } // Draw multiple mesh instances with material and different transforms -void DrawMeshInstanced(Mesh mesh, Material material, Matrix *transforms, int instances) +void DrawMeshInstanced(Mesh mesh, Material material, const Matrix *transforms, int instances) { #if defined(GRAPHICS_API_OPENGL_33) || defined(GRAPHICS_API_OPENGL_ES2) // Instancing required variables