소스 검색

Image manipulation functions depend on a flag

Ray 8 달 전
부모
커밋
ab83e6dd41
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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