Fixed LoadImageAnim frames argument. (#119)
This commit is contained in:
parent
737062763d
commit
0ea640acaa
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue