1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-27 07:03:14 -04:00

Add TexturesDelta::clear

This commit is contained in:
Emil Ernerfeldt
2022-02-21 21:51:21 +01:00
parent 0a46634c13
commit 2af1dda4c3

View File

@@ -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();
}
}