Procházet zdrojové kódy

Corrected issue

Compression API requires functions provided by stbi_image_write (DEFLATE compression)
raysan5 před 5 roky
rodič
revize
427e543d84
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      src/textures.c

+ 1 - 1
src/textures.c

@@ -123,7 +123,7 @@
                                             // NOTE: Used to read image data (multiple formats support)
 #endif
 
-#if defined(SUPPORT_IMAGE_EXPORT)
+#if (defined(SUPPORT_IMAGE_EXPORT) || defined(SUPPORT_COMPRESSION_API))
     #define STBIW_MALLOC RL_MALLOC
     #define STBIW_FREE RL_FREE
     #define STBIW_REALLOC RL_REALLOC