diff --git a/src/main.rs b/src/main.rs index f4ee1d1..aef4c3f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -313,6 +313,7 @@ fn convert(file_thing:std::fs::DirEntry) -> BoxResult<()>{ Err(error::Error::new("Unknown texture format"))? }; + //this fails if the image dimensions are not a multiple of 4 let dds = image_dds::dds_from_image( &image, image_dds::ImageFormat::BC7Unorm,