Add present_mode field to iced_wgpu::Settings
This commit is contained in:
parent
ea1a7248d2
commit
0f00d14297
2 changed files with 7 additions and 1 deletions
|
|
@ -111,9 +111,9 @@ impl iced_graphics::window::Compositor for Compositor {
|
|||
&wgpu::SwapChainDescriptor {
|
||||
usage: wgpu::TextureUsage::OUTPUT_ATTACHMENT,
|
||||
format: self.settings.format,
|
||||
present_mode: self.settings.present_mode,
|
||||
width,
|
||||
height,
|
||||
present_mode: wgpu::PresentMode::Mailbox,
|
||||
},
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue