mirror of
https://github.com/storytold/egui.git
synced 2026-11-28 09:19:12 +01:00
Add TexturesDelta::clear
This commit is contained in:
1 parent
0a46634c13
commit
2af1dda4c3
1 file changed
+5
@@ -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