tirbofish/dropbear · commit
e849ac2ebd610a05445167489c47b237c3e204b9
fixed up cursor locking. it defaults to CursorGrabMode::Confined, Locked is second option (but that doesnt work for some reason).
Signature present but could not be verified.
Unverified
@@ -73,13 +73,14 @@ default-features = false features = ["png"] [profile.dev] -opt-level = 0 +opt-level = 1 debug = true codegen-units = 16 incremental = true lto = false -# it takes way too long to exit out -panic = "abort" + +[profile.dev.package."*"] +opt-level = 3 # [profile.release] # opt-level = 3 @@ -22,16 +22,6 @@ use winit::window::Window; pub const NO_TEXTURE: &[u8] = include_bytes!("../../resources/textures/no-texture.png"); pub const NO_MODEL: &[u8] = include_bytes!("../../resources/models/error.glb"); -#[derive(Debug)] -pub enum GraphicsCommand { - WindowCommand(WindowCommand) -} - -#[derive(Debug)] -pub enum WindowCommand { - WindowGrab(bool) -} - pub struct RenderContext<'a> { pub shared: Arc<SharedGraphicsContext>, pub frame: FrameGraphicsContext<'a>, @@ -507,7 +507,7 @@ impl App { Some(app_name.replace('-', "_").as_str()), LevelFilter::Debug,
Large diffs are not rendered by default. Showing the first 50 of 441 lines. Show full diff