From 275373d9bca46025760b1f36491736f984a592eb Mon Sep 17 00:00:00 2001 From: Quaternions Date: Fri, 3 Jan 2025 19:35:27 -0800 Subject: [PATCH] my size --- strafe-client/src/graphics_worker.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/strafe-client/src/graphics_worker.rs b/strafe-client/src/graphics_worker.rs index ae7c2ab..6a6d469 100644 --- a/strafe-client/src/graphics_worker.rs +++ b/strafe-client/src/graphics_worker.rs @@ -35,8 +35,8 @@ pub fn new<'a>( if let Some((size,user_settings))=resize.take(){ println!("Resizing to {:?}",size); //let t0=std::time::Instant::now(); - config.width=size.width.clamp(1,1920/2); - config.height=size.height.clamp(1,1080/2); + config.width=size.width.clamp(1,2560/2); + config.height=size.height.clamp(1,1440/2); surface.configure(&device,&config); graphics.resize(&device,&config,&user_settings); //println!("Resize took {:?}",t0.elapsed());