Skip to content

Commit 6b2c71f

Browse files
authored
Update mod.rs
1 parent 974e5aa commit 6b2c71f

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

crates/ltk_texture/src/tex/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ impl Tex {
170170
texture2ddecoder::decode_etc2_rgba8(i, w, h, o).map_err(DecodeErr::Etc2Eac)
171171
}
172172
// Safety: Bgra8/Bc1/Bc3 are handled above
173-
Format::Bgra | Format::Bc1 | Format::Bc3 => unsafe { unreachable_unchecked() },
173+
Format::Bgra8 | Format::Bc1 | Format::Bc3 => unsafe { unreachable_unchecked() },
174174
}?;
175175
TexSurfaceData::Bgra8Owned(data)
176176
}

0 commit comments

Comments
 (0)