Reenable proper present_mode in iced_wgpu
This commit is contained in:
parent
441aac2599
commit
a699348bf3
1 changed files with 2 additions and 2 deletions
|
|
@ -321,12 +321,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: 0,
|
||||
desired_maximum_frame_latency: 1,
|
||||
},
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue