diff options
author | Tom Barrett <tom@tombarrett.xyz> | 2022-02-02 19:08:44 +0100 |
---|---|---|
committer | Tom Barrett <tom@tombarrett.xyz> | 2022-02-02 19:08:44 +0100 |
commit | ceb3eff116f9ddf8dcb71a0a77efb63531f75ab2 (patch) | |
tree | c818ad7241797fa72e0cb802f09c9a1b296e1fb0 /src/game.rs | |
parent | 8cdbe7352c4846eb339358bcca6083f747e27721 (diff) |
Diffstat (limited to 'src/game.rs')
-rw-r--r-- | src/game.rs | 2 |
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); |