mirror of
https://github.com/emilk/egui.git
synced 2026-06-26 22:53:14 -04:00
Add TexturesDelta::clear
This commit is contained in:
@@ -161,4 +161,9 @@ impl TexturesDelta {
|
||||
self.set.extend(newer.set.into_iter());
|
||||
self.free.append(&mut newer.free);
|
||||
}
|
||||
|
||||
pub fn clear(&mut self) {
|
||||
self.set.clear();
|
||||
self.free.clear();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user