Use a vsynced presentation mode by default
This commit is contained in:
1 parent
465e43075e
commit
780ac82b27
1 file changed
+1
-1
@@ -115,7 +115,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