mirror of
https://github.com/slint-ui/slint.git
synced 2025-09-30 13:51:13 +00:00
Fix rustdoc build in the CI
The nightly has become a bit more picky about seemingly unused variables :-)
This commit is contained in:
parent
0292afa325
commit
37464a45c5
1 changed files with 2 additions and 2 deletions
|
@ -50,7 +50,7 @@ enum ItemGraphicsCacheEntry {
|
|||
ColorizedImage {
|
||||
// This original image Rc is kept here to keep the image in the shared image cache, so that
|
||||
// changes to the colorization brush will not require re-uploading the image.
|
||||
original_image: Rc<CachedImage>,
|
||||
_original_image: Rc<CachedImage>,
|
||||
colorized_image: Rc<CachedImage>,
|
||||
},
|
||||
// The font selection is expensive because it is also based on the concrete rendered text, so this is cached here to speed up re-paints
|
||||
|
@ -1111,7 +1111,7 @@ impl GLItemRenderer {
|
|||
});
|
||||
|
||||
ItemGraphicsCacheEntry::ColorizedImage {
|
||||
original_image: original_image.clone(),
|
||||
_original_image: original_image.clone(),
|
||||
colorized_image: Rc::new(CachedImage::new_on_gpu(&self.canvas, colorized_image)),
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue