Skip to content

Commit 52bb0e8

Browse files
committed
fix(ltk_texture): cargo fmt - inline surface.decode_layers_mipmaps_rgba8 call
1 parent 6b2c71f commit 52bb0e8

File tree

1 file changed

+1
-2
lines changed
  • crates/ltk_texture/src/tex

1 file changed

+1
-2
lines changed

crates/ltk_texture/src/tex/mod.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,7 @@ impl Tex {
154154
image_format,
155155
data: &self.data[off..off + mip_bytes((w, h))],
156156
};
157-
let rgba8 = surface
158-
.decode_layers_mipmaps_rgba8(0..1, 0..1)?;
157+
let rgba8 = surface.decode_layers_mipmaps_rgba8(0..1, 0..1)?;
159158
TexSurfaceData::Rgba8Owned(rgba8.data)
160159
}
161160
_ => {

0 commit comments

Comments
 (0)