Skip to content

Commit ddf6c09

Browse files
committed
Use height() here, not width()
1 parent e9e1ca8 commit ddf6c09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cradle/src/itp32.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ impl Itp32 {
2929
&intel_tex_2::bc7::alpha_very_fast_settings(),
3030
&intel_tex_2::RgbaSurface {
3131
width: img.width(),
32-
height: img.width(),
32+
height: img.height(),
3333
stride: img.width() * 4,
3434
data: img,
3535
}

0 commit comments

Comments
 (0)