Implement basic image cache trimming in iced_wgpu

This commit is contained in:
Héctor Ramón Jiménez 2019-11-30 02:55:14 +01:00
parent cdd34e1e4b
commit fab6d79e84
2 changed files with 53 additions and 7 deletions

View file

@ -127,6 +127,7 @@ impl Renderer {
}
self.queue.submit(&[encoder.finish()]);
self.image_pipeline.trim_cache();
*mouse_cursor
}