fix bug/mistake
oops, forgot to actually return the image for LoadImageAnim()
This commit is contained in:
parent
381a62a05b
commit
4f5b8ee784
|
|
@ -292,8 +292,9 @@ Image LoadImageAnimDelays(const char *fileName, int *frames, int **frameDelays)
|
||||||
Image LoadImageAnim(const char *fileName, int *frames)
|
Image LoadImageAnim(const char *fileName, int *frames)
|
||||||
{
|
{
|
||||||
int *delays = NULL;
|
int *delays = NULL;
|
||||||
LoadImageAnimDelays(fileName, frames, &delays);
|
Image image = LoadImageAnimDelays(fileName, frames, &delays);
|
||||||
RL_FREE(delays);
|
RL_FREE(delays);
|
||||||
|
return image;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Load image from memory buffer, fileType refers to extension: i.e. ".png"
|
// Load image from memory buffer, fileType refers to extension: i.e. ".png"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user