diff --git a/src/app.rs b/src/app.rs index b7c0fb0..d03615c 100644 --- a/src/app.rs +++ b/src/app.rs @@ -185,7 +185,10 @@ struct Viewport { impl Viewport { pub fn new(event_loop: &ActiveEventLoop, mut app: Box) -> Self { let mut painter = egui_wgpu::winit::Painter::new( - egui_wgpu::WgpuConfiguration::default(), + egui_wgpu::WgpuConfiguration { + present_mode: wgpu::PresentMode::AutoNoVsync, + ..egui_wgpu::WgpuConfiguration::default() + }, 1, None, false,