mirror of
https://github.com/vulkano-rs/vulkano.git
synced 2024-11-29 02:04:37 +00:00
Make surface capabilities queries conform to VUID-vkGetPhysicalDeviceSurfaceCapabilities2KHR-pNext-02671 (#2144)
This commit is contained in:
parent
9b7bb8a1a5
commit
6994ce613e
@ -1553,7 +1553,7 @@ impl PhysicalDevice {
|
||||
let mut full_screen_exclusive_info_vk = None;
|
||||
let mut full_screen_exclusive_win32_info_vk = None;
|
||||
|
||||
if self.supported_extensions().ext_full_screen_exclusive {
|
||||
if self.supported_extensions().ext_full_screen_exclusive && win32_monitor.is_some() {
|
||||
let next =
|
||||
full_screen_exclusive_info_vk.insert(ash::vk::SurfaceFullScreenExclusiveInfoEXT {
|
||||
full_screen_exclusive: full_screen_exclusive.into(),
|
||||
|
Loading…
Reference in New Issue
Block a user