Explorar el Código

Corrected issue

Compression API requires functions provided by stbi_image_write (DEFLATE compression)
raysan5 hace 5 años
padre
commit
427e543d84
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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