mirror of
https://github.com/raylib-cs/raylib-cs
synced 2025-09-09 03:01:41 -04:00
Fix compile error
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user