Trim image::Cache after wgpu::Renderer::present
This commit is contained in:
parent
547446f0de
commit
ea64e4f63a
1 changed files with 3 additions and 0 deletions
|
|
@ -125,6 +125,9 @@ impl Renderer {
|
|||
|
||||
self.triangle_storage.trim();
|
||||
self.text_storage.trim();
|
||||
|
||||
#[cfg(any(feature = "svg", feature = "image"))]
|
||||
self.image_cache.borrow_mut().trim();
|
||||
}
|
||||
|
||||
fn prepare(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue