From 427e543d848eb9ed62cbd342f65610944db13ac7 Mon Sep 17 00:00:00 2001 From: raysan5 Date: Sat, 23 May 2020 23:17:34 +0200 Subject: [PATCH] Corrected issue Compression API requires functions provided by stbi_image_write (DEFLATE compression) --- src/textures.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/textures.c b/src/textures.c index 06fc3e36..530fd235 100644 --- a/src/textures.c +++ b/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