diff --git a/kubi/src/main.rs b/kubi/src/main.rs index 0d4294f..0edfc40 100644 --- a/kubi/src/main.rs +++ b/kubi/src/main.rs @@ -128,14 +128,15 @@ fn after_frame_end() -> Workload { } fn main() { + //Init env_logger logging::init(); - //Create event loop - let event_loop = EventLoop::new(); - //Create a shipyard world let mut world = World::new(); + //Create event loop + let event_loop = EventLoop::new(); + //Add systems and uniques, Init and load things world.add_unique_non_send_sync(Renderer::init(&event_loop)); world.add_unique(BackgroundColor(vec3(0.5, 0.5, 1.)));