Sfoglia il codice sorgente

Corrected bug on PVR textures loading

pull/23/head
Gatonevermind 9 anni fa
parent
commit
4e4b6bef21
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      src/textures.c

+ 1
- 1
src/textures.c Vedi File

@ -1105,7 +1105,7 @@ static Image LoadPVR(const char *fileName)
{
image.width = header.width;
image.height = header.height;
image.mipmaps = header.numMipmaps + 1;
image.mipmaps = header.numMipmaps;
// Check data format
if (((header.channels[0] == 'l') && (header.channels[1] == 0)) && (header.channelDepth[0] == 8)) image.format = UNCOMPRESSED_GRAYSCALE;

Caricamento…
Annulla
Salva