make const
This commit is contained in:
parent
d4382f4a52
commit
87257e9d15
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user