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

Fixed LoadImageAnim frames argument.

This commit is contained in:
Diogo Gomes 2022-08-12 20:05:45 +01:00
commit ad3c8fd996

View file

@ -106,10 +106,10 @@ namespace Raylib_cs
}
/// <summary>Load image sequence from file (frames appended to image.data)</summary>
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);
}