Merge pull request #15 from TGotwig/Perform-benchmarks
Add `env_logger` to tour example
This commit is contained in:
commit
ece4b1fbb2
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,3 +1,3 @@
|
||||
/target
|
||||
**/*.rs.bk
|
||||
Cargo.lock
|
||||
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"
|
||||
|
||||
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user