Skip to content

Commit bc508b3

Browse files
committed
Stupid oopsie with converting to dds
1 parent 1efe9e9 commit bc508b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cradle/src/itp32.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ impl Itp32 {
7979
#[cfg(feature = "ddsfile")]
8080
pub fn to_bc7_dds(self) -> ddsfile::Dds {
8181
let mut dds = ddsfile::Dds::new_dxgi(ddsfile::NewDxgiParams {
82-
height: self.width as u32,
83-
width: self.height as u32,
82+
width: self.width as u32,
83+
height: self.height as u32,
8484
depth: None,
8585
format: ddsfile::DxgiFormat::BC7_UNorm,
8686
mipmap_levels: self.has_mipmaps().then_some(self.levels() as u32),

0 commit comments

Comments
 (0)