Implement basic image cache trimming in iced_wgpu
This commit is contained in:
parent
cdd34e1e4b
commit
fab6d79e84
2 changed files with 53 additions and 7 deletions
|
|
@ -127,6 +127,7 @@ impl Renderer {
|
|||
}
|
||||
|
||||
self.queue.submit(&[encoder.finish()]);
|
||||
self.image_pipeline.trim_cache();
|
||||
|
||||
*mouse_cursor
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue