forked from nonsensical-dev/zenyx-engine
WINIT WINDOW!!!!
This commit is contained in:
parent
0e406d3fc1
commit
ca80d3d4e2
4 changed files with 62 additions and 2 deletions
|
@ -1,11 +1,11 @@
|
|||
use std::io;
|
||||
|
||||
use anyhow::Result;
|
||||
use log2::info;
|
||||
|
||||
pub mod core;
|
||||
|
||||
#[tokio::main]
|
||||
async fn main() -> Result<(), io::Error> {
|
||||
async fn main() -> Result<()> {
|
||||
let _log2 = log2::open("z.log").tee(true).level("trace").start();
|
||||
info!("Initalizing Engine");
|
||||
let shell_thread = tokio::task::spawn(async {
|
||||
|
@ -16,6 +16,7 @@ async fn main() -> Result<(), io::Error> {
|
|||
|
||||
core::splash::print_splash();
|
||||
info!("Engine Initalized");
|
||||
core::init_render()?;
|
||||
shell_thread.await?;
|
||||
Ok(())
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue