Compare commits
3
Commits
465e43075e
...
2b6a6ab378
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2b6a6ab378 | ||
|
|
ec2b5d4c1d | ||
|
|
780ac82b27 |
@@ -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![],
|
||||
|
||||
Reference in new issue
Block a user