Enable vsync
This commit is contained in:
parent
eb1bbee3eb
commit
f162a18107
|
|
@ -29,7 +29,7 @@ impl<'a> Viewport<'a> {
|
||||||
format,
|
format,
|
||||||
width: size.x,
|
width: size.x,
|
||||||
height: size.y,
|
height: size.y,
|
||||||
present_mode: caps.present_modes[0],
|
present_mode: wgpu::PresentMode::Fifo,
|
||||||
alpha_mode: caps.alpha_modes[0],
|
alpha_mode: caps.alpha_modes[0],
|
||||||
view_formats: vec![],
|
view_formats: vec![],
|
||||||
desired_maximum_frame_latency: 2,
|
desired_maximum_frame_latency: 2,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user