Add TexturesDelta::clear
This commit is contained in:
parent
0a46634c13
commit
2af1dda4c3
1 changed files with 5 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue