From 84793bfaa8a830529374c190f09a089e7d277eb7 Mon Sep 17 00:00:00 2001 From: "Spencer C. Imbleau (he/him)" Date: Sat, 2 Jul 2022 22:00:25 -0400 Subject: [PATCH] Fixes #2840 (#2842) --- CHANGELOG.md | 1 + wgpu-core/src/device/mod.rs | 3 +++ 2 files changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index de797ece8..72bdf4033 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -289,6 +289,7 @@ DeviceDescriptor { #### General +- AutoNoVSync now correctly falls back to Fifo @simbleau in [#2842](https://github.com/gfx-rs/wgpu/pull/2842) - Fix trac(y/ing) compile issue by @cwfitzgerald in [#2333](https://github.com/gfx-rs/wgpu/pull/2333) - Improve detection and validation of cubemap views by @kvark in [#2331](https://github.com/gfx-rs/wgpu/pull/2331) - Don't create array layer trackers for 3D textures. by @ElectronicRU in [#2348](https://github.com/gfx-rs/wgpu/pull/2348) diff --git a/wgpu-core/src/device/mod.rs b/wgpu-core/src/device/mod.rs index e86bb201e..59a7460d7 100644 --- a/wgpu-core/src/device/mod.rs +++ b/wgpu-core/src/device/mod.rs @@ -4995,6 +4995,9 @@ impl Global { if caps.present_modes.contains(&wgt::PresentMode::Mailbox) { break wgt::PresentMode::Mailbox; } + if caps.present_modes.contains(&wgt::PresentMode::Fifo) { + break wgt::PresentMode::Fifo; + } } _ => {} }