forked from StrafesNET/map-tool
not a bug
This commit is contained in:
parent
422d0a160d
commit
6df1f41599
@ -364,7 +364,7 @@ fn convert(file_thing:std::fs::DirEntry) -> AResult<()>{
|
|||||||
},
|
},
|
||||||
Ok(ReaderType::Raw(readable)) => load_image(readable),
|
Ok(ReaderType::Raw(readable)) => load_image(readable),
|
||||||
Err(e) => Err(e)?,
|
Err(e) => Err(e)?,
|
||||||
}?.to_rgba8();//this is setting a=0?
|
}?.to_rgba8();//this sets a=255, arcane is actually supposed to look like that
|
||||||
|
|
||||||
let format=if image.width()%4!=0||image.height()%4!=0{
|
let format=if image.width()%4!=0||image.height()%4!=0{
|
||||||
image_dds::ImageFormat::R8G8B8A8Srgb
|
image_dds::ImageFormat::R8G8B8A8Srgb
|
||||||
|
Loading…
Reference in New Issue
Block a user