wip
This commit is contained in:
parent
0985661e45
commit
b27ad3473e
@ -198,6 +198,8 @@ impl<'a> WindowContextSetup<'a>{
|
|||||||
fn into_context(self,setup_context:crate::setup::SetupContext<'a>)->WindowContext<'a>{
|
fn into_context(self,setup_context:crate::setup::SetupContext<'a>)->WindowContext<'a>{
|
||||||
let screen_size=glam::uvec2(setup_context.config.width,setup_context.config.height);
|
let screen_size=glam::uvec2(setup_context.config.width,setup_context.config.height);
|
||||||
let graphics_thread=crate::graphics_worker::new(self.graphics,setup_context.config,setup_context.surface,setup_context.device,setup_context.queue);
|
let graphics_thread=crate::graphics_worker::new(self.graphics,setup_context.config,setup_context.surface,setup_context.device,setup_context.queue);
|
||||||
|
//this obviously doesn't belong here, do something about it pls
|
||||||
|
let bot_thread=crate::bot_worker::new(scope);
|
||||||
WindowContext{
|
WindowContext{
|
||||||
manual_mouse_lock:false,
|
manual_mouse_lock:false,
|
||||||
mouse:strafesnet_common::mouse::MouseState::default(),
|
mouse:strafesnet_common::mouse::MouseState::default(),
|
||||||
|
Loading…
Reference in New Issue
Block a user