diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-01-17 00:42:02 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-02-13 06:16:21 +0100 |
commit | a39d9c5194a5fa230ee987ebfc73476f2011d6fa (patch) | |
tree | aeef5e8bcf2d0577ed84d8d591fbeac40267a962 /src/video_core/vulkan_common/vulkan_device.h | |
parent | vulkan_common: Make interop extensions mandatory (diff) | |
download | yuzu-a39d9c5194a5fa230ee987ebfc73476f2011d6fa.tar yuzu-a39d9c5194a5fa230ee987ebfc73476f2011d6fa.tar.gz yuzu-a39d9c5194a5fa230ee987ebfc73476f2011d6fa.tar.bz2 yuzu-a39d9c5194a5fa230ee987ebfc73476f2011d6fa.tar.lz yuzu-a39d9c5194a5fa230ee987ebfc73476f2011d6fa.tar.xz yuzu-a39d9c5194a5fa230ee987ebfc73476f2011d6fa.tar.zst yuzu-a39d9c5194a5fa230ee987ebfc73476f2011d6fa.zip |
Diffstat (limited to 'src/video_core/vulkan_common/vulkan_device.h')
-rw-r--r-- | src/video_core/vulkan_common/vulkan_device.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/vulkan_common/vulkan_device.h b/src/video_core/vulkan_common/vulkan_device.h index f1697b79a..e0711f733 100644 --- a/src/video_core/vulkan_common/vulkan_device.h +++ b/src/video_core/vulkan_common/vulkan_device.h @@ -227,10 +227,10 @@ public: private: /// Checks if the physical device is suitable. - void CheckSuitability() const; + void CheckSuitability(bool requires_swapchain) const; /// Loads extensions into a vector and stores available ones in this object. - std::vector<const char*> LoadExtensions(); + std::vector<const char*> LoadExtensions(bool requires_surface); /// Sets up queue families. void SetupFamilies(VkSurfaceKHR surface); |