diff options
| author | Ray <[email protected]> | 2021-09-23 00:23:57 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2021-09-23 00:23:57 +0200 |
| commit | 08ea5e419eb327f0a2d2748970aa472f6bd6a947 (patch) | |
| tree | be0e5eb6287db1c6ff409fbd1e969fc377744858 /src | |
| parent | 00a763ea4485bfa00c3b65c500a466c77e2cc170 (diff) | |
| download | raylib-08ea5e419eb327f0a2d2748970aa472f6bd6a947.tar.gz raylib-08ea5e419eb327f0a2d2748970aa472f6bd6a947.zip | |
REVIEWED: LoadImageAnim() #2005
Diffstat (limited to 'src')
| -rw-r--r-- | src/rtextures.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rtextures.c b/src/rtextures.c index a55ca43f..ed88c318 100644 --- a/src/rtextures.c +++ b/src/rtextures.c @@ -269,8 +269,8 @@ Image LoadImageAnim(const char *fileName, int *frames) if (fileData != NULL) { int comp = 0; - int **delays = NULL; - image.data = stbi_load_gif_from_memory(fileData, dataSize, delays, &image.width, &image.height, &frameCount, &comp, 4); + int *delays = NULL; + image.data = stbi_load_gif_from_memory(fileData, dataSize, &delays, &image.width, &image.height, &frameCount, &comp, 4); image.mipmaps = 1; image.format = PIXELFORMAT_UNCOMPRESSED_R8G8B8A8; |
