Skip to content

Commit

Permalink
Fixes gfx-rs#2840
Browse files Browse the repository at this point in the history
  • Loading branch information
simbleau committed Jul 3, 2022
1 parent cb0646f commit 2d92aad
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions wgpu-core/src/device/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4995,6 +4995,9 @@ impl<G: GlobalIdentityHandlerFactory> Global<G> {
if caps.present_modes.contains(&wgt::PresentMode::Mailbox) {
break wgt::PresentMode::Mailbox;
}
if caps.present_modes.contains(&wgt::PresentMode::Fifo) {
break wgt::PresentMode::Fifo;
}
}
_ => {}
}
Expand Down

0 comments on commit 2d92aad

Please sign in to comment.