This commit is contained in:
Quaternions 2023-09-28 23:00:22 -07:00
parent 45e8e415d0
commit 01524146c7

View File

@ -313,6 +313,7 @@ fn convert(file_thing:std::fs::DirEntry) -> BoxResult<()>{
Err(error::Error::new("Unknown texture format"))? 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( let dds = image_dds::dds_from_image(
&image, &image,
image_dds::ImageFormat::BC7Unorm, image_dds::ImageFormat::BC7Unorm,