summaryrefslogtreecommitdiff
path: root/src/game.rs
diff options
context:
space:
mode:
authorTom Barrett <tom@tombarrett.xyz>2022-02-02 19:08:44 +0100
committerTom Barrett <tom@tombarrett.xyz>2022-02-02 19:08:44 +0100
commitceb3eff116f9ddf8dcb71a0a77efb63531f75ab2 (patch)
treec818ad7241797fa72e0cb802f09c9a1b296e1fb0 /src/game.rs
parent8cdbe7352c4846eb339358bcca6083f747e27721 (diff)
2022 updateHEADmaster
Diffstat (limited to 'src/game.rs')
-rw-r--r--src/game.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game.rs b/src/game.rs
index ebf5ffa..51cc5db 100644
--- a/src/game.rs
+++ b/src/game.rs
@@ -45,7 +45,7 @@ impl EventHandler for Game {
}
fn draw(&mut self, context: &mut Context) -> GameResult {
- graphics::clear(context, graphics::BLACK);
+ graphics::clear(context, graphics::Color::BLACK);
self.world.draw(&mut self.spritebatch);