Set proper present_mode in iced_wgpu
This commit is contained in:
parent
e2c129c057
commit
346ea313fd
1 changed files with 2 additions and 2 deletions
|
|
@ -322,12 +322,12 @@ impl graphics::Compositor for Compositor {
|
|||
&wgpu::SurfaceConfiguration {
|
||||
usage: wgpu::TextureUsages::RENDER_ATTACHMENT,
|
||||
format: self.format,
|
||||
present_mode: wgpu::PresentMode::Immediate,
|
||||
present_mode: self.settings.present_mode,
|
||||
width,
|
||||
height,
|
||||
alpha_mode: self.alpha_mode,
|
||||
view_formats: vec![],
|
||||
desired_maximum_frame_latency: 2,
|
||||
desired_maximum_frame_latency: 1,
|
||||
},
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue