Sfoglia il codice sorgente

Corrected issue on LoadASTC()

pull/545/head
Ray 7 anni fa
committed by GitHub
parent
commit
bb43755a9d
Non sono state trovate chiavi note per questa firma nel database ID Chiave GPG: 4AEE18F83AFDEB23
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      src/textures.c

+ 1
- 1
src/textures.c Vedi File

@ -2674,7 +2674,7 @@ static Image LoadASTC(const char *fileName)
fread(image.data, dataSize, 1, astcFile);
if (bpp == 8) image.format = COMPRESSED_ASTC_4x4_RGBA;
else if (bpp == 2) image.format = COMPRESSED_ASTC_4x4_RGBA;
else if (bpp == 2) image.format = COMPRESSED_ASTC_8x8_RGBA;
}
else TraceLog(LOG_WARNING, "[%s] ASTC block size configuration not supported", fileName);
}

Caricamento…
Annulla
Salva