We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1efe9e9 commit bc508b3Copy full SHA for bc508b3
cradle/src/itp32.rs
@@ -79,8 +79,8 @@ impl Itp32 {
79
#[cfg(feature = "ddsfile")]
80
pub fn to_bc7_dds(self) -> ddsfile::Dds {
81
let mut dds = ddsfile::Dds::new_dxgi(ddsfile::NewDxgiParams {
82
- height: self.width as u32,
83
- width: self.height as u32,
+ width: self.width as u32,
+ height: self.height as u32,
84
depth: None,
85
format: ddsfile::DxgiFormat::BC7_UNorm,
86
mipmap_levels: self.has_mipmaps().then_some(self.levels() as u32),
0 commit comments