mirror of
https://github.com/slint-ui/slint.git
synced 2025-12-23 09:19:32 +00:00
femtovg: Rename tuple field for ItemGraphicsCacheEntry::Texture match to match TextureWithOrigin
This commit is contained in:
parent
98afee5b6f
commit
1242f09112
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue