diff options
| author | raysan5 <[email protected]> | 2020-05-23 23:17:34 +0200 |
|---|---|---|
| committer | raysan5 <[email protected]> | 2020-05-23 23:17:34 +0200 |
| commit | 427e543d848eb9ed62cbd342f65610944db13ac7 (patch) | |
| tree | 42fbb33a12e9d071562684099f174562e79844b3 | |
| parent | fe5fe230b9af31b2dd8af8a3a52c019ff5561108 (diff) | |
| download | raylib-427e543d848eb9ed62cbd342f65610944db13ac7.tar.gz raylib-427e543d848eb9ed62cbd342f65610944db13ac7.zip | |
Corrected issue
Compression API requires functions provided by stbi_image_write (DEFLATE compression)
| -rw-r--r-- | src/textures.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
