Bowarc / chess_game

A multiplayer chess game made with ggez
1 stars 1 forks source link

Renderer not cleaning the right InstanceArray when id is not loaded #35

Open Bowarc opened 11 months ago

Bowarc commented 11 months ago

Context

It's fine for now as we don't update the sprite bank between the start and the end of the function

But could be a problem if we refactor

Maybe SpriteBank could return

Result<&mut InstanceArray /* requested */, &mut InstanceArray /* default */>

But that wouldn't fit with our bank trait system