Skip to content

Commit b71ada0

Browse files
authored
revert default vsync mode to Fifo (#1416)
the mailbox option doesn't do framelimiting on some devices. we need to rely on vsync for framelimiting until bevy supports framelimiting internally. #1343
1 parent 3475a64 commit b71ada0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/bevy_wgpu/src/wgpu_type_converter.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -640,7 +640,7 @@ impl WgpuFrom<&Window> for wgpu::SwapChainDescriptor {
640640
width: window.physical_width(),
641641
height: window.physical_height(),
642642
present_mode: if window.vsync() {
643-
wgpu::PresentMode::Mailbox
643+
wgpu::PresentMode::Fifo
644644
} else {
645645
wgpu::PresentMode::Immediate
646646
},

0 commit comments

Comments
 (0)