idk about this

This commit is contained in:
Quaternions 2023-10-20 16:51:09 -07:00
parent 431611b62a
commit 2e13d9b74e

View File

@ -178,5 +178,8 @@ impl GlobalState {
fn main(){ fn main(){
let title=format!("Strafe Client v{}",env!("CARGO_PKG_VERSION")).as_str(); let title=format!("Strafe Client v{}",env!("CARGO_PKG_VERSION")).as_str();
graphics_context::setup(title).start(); let context=graphics_context::setup(title);
let global_state=GlobalState::init();//new
global_state.replace_models(&context,default_models());
context.start(global_state);
} }