summaryrefslogtreecommitdiffstats
path: root/src/video_core/vulkan_common/vulkan_device.h
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2021-01-17 00:42:02 +0100
committerReinUsesLisp <reinuseslisp@airmail.cc>2021-02-13 06:16:21 +0100
commita39d9c5194a5fa230ee987ebfc73476f2011d6fa (patch)
treeaeef5e8bcf2d0577ed84d8d591fbeac40267a962 /src/video_core/vulkan_common/vulkan_device.h
parentvulkan_common: Make interop extensions mandatory (diff)
downloadyuzu-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 '')
-rw-r--r--src/video_core/vulkan_common/vulkan_device.h4
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);