Compare commits

...
3 Commits
+2 -1
View File
@@ -45,6 +45,7 @@ impl UiRenderer {
}
self.queue.submit(std::iter::once(encoder.finish()));
self.window.pre_present_notify();
output.present();
}
@@ -115,7 +116,7 @@ impl UiRenderer {
format: surface_format,
width: size.width,
height: size.height,
present_mode: PresentMode::AutoNoVsync,
present_mode: PresentMode::AutoVsync,
alpha_mode: surface_caps.alpha_modes[0],
desired_maximum_frame_latency: 2,
view_formats: vec![],