make const (#2348)

* make const

* make const
This commit is contained in:
Antonis Geralis 2022-02-20 21:12:55 +02:00 committed by GitHub
parent 761669272f
commit 68bad6986d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -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