femtovg: Rename tuple field for ItemGraphicsCacheEntry::Texture match to match TextureWithOrigin

This commit is contained in:
Simon Hausmann 2025-11-19 08:52:19 +01:00 committed by Simon Hausmann
parent 98afee5b6f
commit 1242f09112

View file

@ -782,7 +782,7 @@ impl<'a, R: femtovg::Renderer + TextureImporter> ItemRenderer for GLItemRenderer
cached_image
});
let image_id = match cache_entry {
Some(ItemGraphicsCacheEntry::Texture(image)) => image.id,
Some(ItemGraphicsCacheEntry::Texture(texture)) => texture.id,
Some(ItemGraphicsCacheEntry::TextureWithOrigin { texture, .. }) => texture.id,
Some(ItemGraphicsCacheEntry::ColorizedImage { .. }) => unreachable!(),
None => return,