Explorar o código

Image manipulation functions depend on a flag

Ray hai 8 meses
pai
achega
ab83e6dd41
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      src/rtextures.c

+ 2 - 0
src/rtextures.c

@@ -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