Watch
2
0
Fork
You've already forked raylib-cs
0

Fix compile error

This commit is contained in:
Rgebee 2021-12-16 20:24:52 +00:00
commit fa8c4ea430

View file

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