diff --git a/Raylib-cs/types/Raylib.Utils.cs b/Raylib-cs/types/Raylib.Utils.cs index 4d6ab6d..45d8d9f 100644 --- a/Raylib-cs/types/Raylib.Utils.cs +++ b/Raylib-cs/types/Raylib.Utils.cs @@ -106,10 +106,10 @@ namespace Raylib_cs } /// Load image sequence from file (frames appended to image.data) - public static Image LoadImageAnim(string fileName, int[] frames) + public static Image LoadImageAnim(string fileName, out int frames) { using var str1 = fileName.ToUTF8Buffer(); - fixed (int* p = frames) + fixed (int* p = &frames) { return LoadImageAnim(str1.AsPointer(), p); }