Sfoglia il codice sorgente

Image manipulation functions depend on a flag

master
Ray 6 ore fa
parent
commit
ab83e6dd41
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. +2
    -0
      src/rtextures.c

+ 2
- 0
src/rtextures.c Vedi File

@ -4204,8 +4204,10 @@ TextureCubemap LoadTextureCubemap(Image image, int layout)
ImageFormat(&faces, image.format);
Image mipmapped = ImageCopy(image);
#if defined(SUPPORT_IMAGE_MANIPULATION)
ImageMipmaps(&mipmapped);
ImageMipmaps(&faces);
#endif
// NOTE: Image formatting does not work with compressed textures

Caricamento…
Annulla
Salva