Skip to content

Commit

Permalink
wgpu: use mailbox instead of fifo for vsync (#920)
Browse files Browse the repository at this point in the history
  • Loading branch information
cart committed Nov 26, 2020
1 parent 6960390 commit 86d724e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bevy_wgpu/src/wgpu_type_converter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
},
Expand Down

0 comments on commit 86d724e

Please sign in to comment.