summaryrefslogtreecommitdiffhomepage
path: root/src/rmodels.c
diff options
context:
space:
mode:
authorAntonis Geralis <[email protected]>2022-02-20 21:12:55 +0200
committerGitHub <[email protected]>2022-02-20 20:12:55 +0100
commit68bad6986dec2469b8222c610b6a94be2092bd0e (patch)
treefba38e090a83a2b6040d246b2f8c05aa4fddb382 /src/rmodels.c
parent761669272f57f1dbfc1366ff4450206f549aace9 (diff)
downloadraylib-68bad6986dec2469b8222c610b6a94be2092bd0e.tar.gz
raylib-68bad6986dec2469b8222c610b6a94be2092bd0e.zip
make const (#2348)
* make const * make const
Diffstat (limited to 'src/rmodels.c')
-rw-r--r--src/rmodels.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rmodels.c b/src/rmodels.c
index 223414cd..4fb6465e 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