Sfoglia il codice sorgente

REVIEWED: LoadImageAnim() #2005

pull/2008/head
Ray 3 anni fa
parent
commit
08ea5e419e
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. +2
    -2
      src/rtextures.c

+ 2
- 2
src/rtextures.c Vedi File

@ -269,8 +269,8 @@ Image LoadImageAnim(const char *fileName, int *frames)
if (fileData != NULL)
{
int comp = 0;
int *o">*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, o">&delays, &image.width, &image.height, &frameCount, &comp, 4);
image.mipmaps = 1;
image.format = PIXELFORMAT_UNCOMPRESSED_R8G8B8A8;

||||||
x
 
000:0
Caricamento…
Annulla
Salva