fixed cargo fmt errors
This commit is contained in:
parent
f13c5f024e
commit
941309aed2
1 changed files with 5 additions and 2 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue