Fix compile error
This commit is contained in:
parent
ed9cead672
commit
fa8c4ea430
1 changed files with 1 additions and 1 deletions
|
|
@ -241,7 +241,7 @@ namespace Raylib_cs
|
|||
|
||||
public static void SetMaterialTexture(ref Model model, int materialIndex, MaterialMapIndex mapIndex, ref Texture2D texture)
|
||||
{
|
||||
SetMaterialTexture(ref model.materials[materialIndex], (int)mapIndex, texture);
|
||||
SetMaterialTexture(&model.materials[materialIndex], (int)mapIndex, texture);
|
||||
}
|
||||
|
||||
public static void SetMaterialShader(ref Model model, int materialIndex, ref Shader shader)
|
||||
|
|
|
|||
Loading…
Reference in a new issue