Corrected issue

Compression API requires functions provided by stbi_image_write (DEFLATE compression)
This commit is contained in:
raysan5 2020-05-23 23:17:34 +02:00
parent fe5fe230b9
commit 427e543d84

View File

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