WINIT WINDOW!!!!

This commit is contained in:
Chance 2024-12-01 20:50:11 -05:00 committed by BitSyndicate
parent 0e406d3fc1
commit ca80d3d4e2
Signed by untrusted user: bitsyndicate
GPG key ID: 443E4198D6BBA6DE
4 changed files with 62 additions and 2 deletions

View file

@ -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(())
}