Browse Source

Image manipulation functions depend on a flag

master
Ray 6 hours ago
parent
commit
ab83e6dd41
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      src/rtextures.c

+ 2
- 0
src/rtextures.c View File

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

Loading…
Cancel
Save