wgpu: use mailbox instead of fifo for vsync (#920)
This commit is contained in:
parent
69603904ab
commit
86d724e04e
@ -567,7 +567,7 @@ impl WgpuFrom<&Window> for wgpu::SwapChainDescriptor {
|
||||
width: window.width(),
|
||||
height: window.height(),
|
||||
present_mode: if window.vsync() {
|
||||
wgpu::PresentMode::Fifo
|
||||
wgpu::PresentMode::Mailbox
|
||||
} else {
|
||||
wgpu::PresentMode::Immediate
|
||||
},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user