|
|
|
|
@ -81,6 +81,7 @@ 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);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#ifdef TOOLS_ENABLED
|
|
|
|
|
void image_compress_squish(Image *p_image, Image::CompressSource p_source) {
|
|
|
|
|
|
|
|
|
|
if (p_image->get_format() >= Image::FORMAT_DXT1)
|
|
|
|
|
@ -176,3 +177,4 @@ void image_compress_squish(Image *p_image, Image::CompressSource p_source) {
|
|
|
|
|
p_image->create(p_image->get_width(), p_image->get_height(), p_image->has_mipmaps(), target_format, data);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|