summaryrefslogtreecommitdiff
path: root/modules/squish/image_compress_squish.h
diff options
context:
space:
mode:
authorLeon Krause <lk@leonkrause.com>2018-11-27 18:14:54 +0100
committerLeon Krause <lk@leonkrause.com>2018-11-28 11:11:58 +0100
commit32751e09ac1313baa4d22a4098c8dd03ba6a1741 (patch)
tree0bb9c9d2ad96f211f95a5afec864e1dc3c0e0e80 /modules/squish/image_compress_squish.h
parentc23710adde23a0e415097dee7d8e6f9ba76a0970 (diff)
Build squish decompression in runtime
Diffstat (limited to 'modules/squish/image_compress_squish.h')
-rw-r--r--modules/squish/image_compress_squish.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/squish/image_compress_squish.h b/modules/squish/image_compress_squish.h
index dfebdc955f..dd53f2787a 100644
--- a/modules/squish/image_compress_squish.h
+++ b/modules/squish/image_compress_squish.h
@@ -33,7 +33,9 @@
#include "core/image.h"
+#ifdef TOOLS_ENABLED
void image_compress_squish(Image *p_image, float p_lossy_quality, Image::CompressSource p_source);
+#endif
void image_decompress_squish(Image *p_image);
#endif // IMAGE_COMPRESS_SQUISH_H