Skip to content

Commit

Permalink
Merge branch 'trunk' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
gents83 committed Nov 10, 2023
2 parents ae0b777 + 2e7fd75 commit 2710cdd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions wgpu-hal/src/vulkan/conv.rs
Original file line number Diff line number Diff line change
Expand Up @@ -451,8 +451,7 @@ pub fn map_vk_present_mode(mode: vk::PresentModeKHR) -> Option<wgt::PresentMode>
} else if mode == vk::PresentModeKHR::FIFO {
Some(wgt::PresentMode::Fifo)
} else if mode == vk::PresentModeKHR::FIFO_RELAXED {
//Some(wgt::PresentMode::Relaxed)
None
Some(wgt::PresentMode::FifoRelaxed)
} else {
log::warn!("Unrecognized present mode {:?}", mode);
None
Expand Down

0 comments on commit 2710cdd

Please sign in to comment.