make const

This commit is contained in:
Antonis Geralis 2022-02-19 16:40:04 +02:00 committed by GitHub
parent d4382f4a52
commit 87257e9d15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1404,7 +1404,7 @@ void DrawMesh(Mesh mesh, Material material, Matrix transform)
} }
// Draw multiple mesh instances with material and different transforms // 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) #if defined(GRAPHICS_API_OPENGL_33) || defined(GRAPHICS_API_OPENGL_ES2)
// Instancing required variables // Instancing required variables