Apply vulkan-rs changes #9

Merged
hodasemi merged 2 commits from dev into master 2023-01-22 17:29:11 +00:00
Showing only changes of commit 95bb61695e - Show all commits

View file

@ -396,6 +396,14 @@ impl UiOverlay for LeaderBoard {}
impl DataReceiver for LeaderBoard {
fn game_phase_change(&mut self, phase: GamePhase) -> Result<()> {
for i in 0..self.leaderboard_grid.dimensions().1 {
self.leaderboard_grid.detach(0, i)?;
}
for i in 0..self.deltaboard_grid.dimensions().1 {
self.deltaboard_grid.detach(0, i)?;
}
match phase {
GamePhase::Practice | GamePhase::Qualifying | GamePhase::TestDay => {
for entry in self.leaderboard_entries.iter_mut() {