Add TexturesDelta::clear

This commit is contained in:
Emil Ernerfeldt 2022-02-21 21:51:21 +01:00
parent 0a46634c13
commit 2af1dda4c3
1 changed files with 5 additions and 0 deletions

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