Remove unused PlatformAtlas::clear
method
This commit is contained in:
parent
9240a1a707
commit
559461923f
3 changed files with 0 additions and 22 deletions
|
@ -325,10 +325,4 @@ impl PlatformAtlas for TestAtlas {
|
|||
|
||||
Ok(state.tiles[key].clone())
|
||||
}
|
||||
|
||||
fn clear(&self) {
|
||||
let mut state = self.0.lock();
|
||||
state.tiles = HashMap::default();
|
||||
state.next_id = 0;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue