bruh vsync griefs my laptop

This commit is contained in:
2025-12-20 18:25:22 -05:00
parent f0fe671bd8
commit 54534c4c34
2 changed files with 1 additions and 5 deletions

View File

@@ -69,7 +69,6 @@ impl UiRenderer {
let instance = Instance::new(&InstanceDescriptor {
backends: Backends::PRIMARY,
flags: InstanceFlags::empty(),
..Default::default()
});
@@ -119,7 +118,7 @@ impl UiRenderer {
format: surface_format,
width: size.width,
height: size.height,
present_mode: PresentMode::AutoVsync,
present_mode: PresentMode::AutoNoVsync,
alpha_mode: surface_caps.alpha_modes[0],
desired_maximum_frame_latency: 2,
view_formats: vec![],