|
@@ -73,7 +73,6 @@ void image_decompress_squish(Image *p_image) {
|
|
p_image->create(p_image->get_width(), p_image->get_height(), p_image->has_mipmaps(), target_format, data);
|
|
p_image->create(p_image->get_width(), p_image->get_height(), p_image->has_mipmaps(), target_format, data);
|
|
}
|
|
}
|
|
|
|
|
|
-#ifdef TOOLS_ENABLED
|
|
|
|
void image_compress_squish(Image *p_image, float p_lossy_quality, Image::CompressSource p_source) {
|
|
void image_compress_squish(Image *p_image, float p_lossy_quality, Image::CompressSource p_source) {
|
|
|
|
|
|
if (p_image->get_format() >= Image::FORMAT_DXT1)
|
|
if (p_image->get_format() >= Image::FORMAT_DXT1)
|
|
@@ -203,4 +202,3 @@ void image_compress_squish(Image *p_image, float p_lossy_quality, Image::Compres
|
|
p_image->create(p_image->get_width(), p_image->get_height(), p_image->has_mipmaps(), target_format, data);
|
|
p_image->create(p_image->get_width(), p_image->get_height(), p_image->has_mipmaps(), target_format, data);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
-#endif
|
|
|