fixed cargo fmt errors

This commit is contained in:
TheEggShark 2023-12-03 16:23:17 -06:00 committed by Josh Groves
parent f13c5f024e
commit 941309aed2

View file

@ -109,8 +109,11 @@ impl TextRenderer {
{ {
atlas.color_atlas.promote(physical_glyph.cache_key); atlas.color_atlas.promote(physical_glyph.cache_key);
} else { } else {
let Some(image) = cache let Some(image) =
.get_image_uncached(font_system, physical_glyph.cache_key) else { continue }; cache.get_image_uncached(font_system, physical_glyph.cache_key)
else {
continue;
};
let content_type = match image.content { let content_type = match image.content {
SwashContent::Color => ContentType::Color, SwashContent::Color => ContentType::Color,