bruh vsync griefs my laptop
This commit is contained in:
@@ -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![],
|
||||
|
||||
Reference in New Issue
Block a user