mirror of
https://github.com/raylib-cs/raylib-cs
synced 2025-06-30 19:03:42 -04:00
Fixed LoadImageAnim frames argument. (#119)
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user