Remove extern crate and log dependency
This commit is contained in:
parent
87007c7e32
commit
7bfcf4c0bc
3 changed files with 3 additions and 6 deletions
|
|
@ -12,9 +12,9 @@ use ggez::filesystem;
|
|||
use ggez::graphics;
|
||||
use ggez::input::mouse;
|
||||
|
||||
extern crate env_logger;
|
||||
|
||||
pub fn main() -> ggez::GameResult {
|
||||
env_logger::init();
|
||||
|
||||
let (context, event_loop) = {
|
||||
&mut ggez::ContextBuilder::new("iced", "ggez")
|
||||
.window_mode(ggez::conf::WindowMode {
|
||||
|
|
@ -35,7 +35,6 @@ pub fn main() -> ggez::GameResult {
|
|||
true,
|
||||
);
|
||||
|
||||
env_logger::init();
|
||||
let state = &mut Game::new(context)?;
|
||||
|
||||
event::run(context, event_loop, state)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue