Fixing -format_only so the uncompressed formats aren't unpacked when this option is used.
diff --git a/basisu_tool.cpp b/basisu_tool.cpp
index 544bb5d..08f84e1 100644
--- a/basisu_tool.cpp
+++ b/basisu_tool.cpp
@@ -2268,7 +2268,8 @@
uint32_t max_mipmap_levels = 0;
- if (!opts.m_etc1_only)
+ //if (!opts.m_etc1_only)
+ if (opts.m_format_only == -1)
{
// Now unpack to RGBA using the transcoder itself to do the unpacking to raster images
for (uint32_t image_index = 0; image_index < fileinfo.m_total_images; image_index++)