summaryrefslogtreecommitdiffstats
path: root/examples/tour/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/tour/main.rs')
-rw-r--r--examples/tour/main.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/tour/main.rs b/examples/tour/main.rs
index 571bc2e2..06b482a7 100644
--- a/examples/tour/main.rs
+++ b/examples/tour/main.rs
@@ -12,6 +12,8 @@ use ggez::filesystem;
use ggez::graphics;
use ggez::input::mouse;
+extern crate env_logger;
+
pub fn main() -> ggez::GameResult {
let (context, event_loop) = {
&mut ggez::ContextBuilder::new("iced", "ggez")
@@ -33,6 +35,7 @@ pub fn main() -> ggez::GameResult {
true,
);
+ env_logger::init();
let state = &mut Game::new(context)?;
event::run(context, event_loop, state)