diff options
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | Cargo.toml | 1 | ||||
-rw-r--r-- | examples/tour/main.rs | 2 |
3 files changed, 4 insertions, 1 deletions
@@ -1,3 +1,3 @@ /target **/*.rs.bk -Cargo.lock
\ No newline at end of file +Cargo.lock @@ -28,3 +28,4 @@ winit = { version = "0.20.0-alpha3", optional = true } # A personal `ggez` fork that introduces a `FontCache` type to measure text # efficiently and fixes HiDPI issues. ggez = { version = "0.5", git = "https://github.com/hecrj/ggez.git" } +env_logger = "0.6" diff --git a/examples/tour/main.rs b/examples/tour/main.rs index 571bc2e2..1b60207b 100644 --- a/examples/tour/main.rs +++ b/examples/tour/main.rs @@ -13,6 +13,8 @@ use ggez::graphics; use ggez::input::mouse; pub fn main() -> ggez::GameResult { + env_logger::init(); + let (context, event_loop) = { &mut ggez::ContextBuilder::new("iced", "ggez") .window_mode(ggez::conf::WindowMode { |