summaryrefslogtreecommitdiff
path: root/src/game.rs
diff options
context:
space:
mode:
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);