fix bug/mistake

oops, forgot to actually return the image for LoadImageAnim()
This commit is contained in:
Ardel1 2021-08-18 18:50:24 +02:00
parent 381a62a05b
commit 4f5b8ee784

View File

@ -292,8 +292,9 @@ Image LoadImageAnimDelays(const char *fileName, int *frames, int **frameDelays)
Image LoadImageAnim(const char *fileName, int *frames)
{
int *delays = NULL;
LoadImageAnimDelays(fileName, frames, &delays);
Image image = LoadImageAnimDelays(fileName, frames, &delays);
RL_FREE(delays);
return image;
}
// Load image from memory buffer, fileType refers to extension: i.e. ".png"