We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 974e5aa commit 6b2c71fCopy full SHA for 6b2c71f
crates/ltk_texture/src/tex/mod.rs
@@ -170,7 +170,7 @@ impl Tex {
170
texture2ddecoder::decode_etc2_rgba8(i, w, h, o).map_err(DecodeErr::Etc2Eac)
171
}
172
// Safety: Bgra8/Bc1/Bc3 are handled above
173
- Format::Bgra | Format::Bc1 | Format::Bc3 => unsafe { unreachable_unchecked() },
+ Format::Bgra8 | Format::Bc1 | Format::Bc3 => unsafe { unreachable_unchecked() },
174
}?;
175
TexSurfaceData::Bgra8Owned(data)
176
0 commit comments