idk about this
This commit is contained in:
parent
431611b62a
commit
2e13d9b74e
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user