forked from StrafesNET/map-tool
use srgb
This commit is contained in:
parent
de7b0bd5cc
commit
d670d4129e
@ -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,
|
||||||
)?;
|
)?;
|
||||||
|
Loading…
Reference in New Issue
Block a user