Reduce window size for native applications to 800x600

This commit is contained in:
Dennis Kobert
2023-06-17 16:29:58 +02:00
committed by Keavon Chambers
parent d0722f6985
commit e03da35a83
2 changed files with 2 additions and 2 deletions

View File

@@ -456,7 +456,7 @@ impl gpu_executor::GpuExecutor for WgpuExecutor {
view_formats: vec![],
};
surface.configure(&self.context.device, &config);
self.surface_config.set(Some(config.clone()));
self.surface_config.set(Some(config));
let surface_id = window.surface_id;
Ok(SurfaceHandle { surface_id, surface })