Compare commits

..

No commits in common. "ef793d585dd7a7187456bbed5e8a2dd65a264507" and "4697105fbcb31a086859e70c06396942c05ad60d" have entirely different histories.

2 changed files with 1 additions and 9 deletions

View file

@ -60,7 +60,7 @@ impl BackgroundGenerator {
clear_value: ClearValue::Color([0.0, 0.0, 0.0, 0.0]),
})
.set_sample_count(max_supported_sample_count)
.add_resolve_targets((vec![image.clone()], true))
.add_resolve_targets(vec![image.clone()])
.use_queue(queue.clone())
.build(&device)?,
)

View file

@ -396,14 +396,6 @@ 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() {