This commit is contained in:
Quaternions 2023-09-29 13:27:23 -07:00
parent de7b0bd5cc
commit d670d4129e

View File

@ -318,7 +318,7 @@ fn convert(file_thing:std::fs::DirEntry) -> BoxResult<()>{
//this fails if the image dimensions are not a multiple of 4 //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::BC7Srgb,
image_dds::Quality::Slow, image_dds::Quality::Slow,
image_dds::Mipmaps::GeneratedAutomatic, image_dds::Mipmaps::GeneratedAutomatic,
)?; )?;