diff options
| author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-01-16 20:42:02 -0300 |
|---|---|---|
| committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-02-13 02:16:21 -0300 |
| commit | a39d9c5194a5fa230ee987ebfc73476f2011d6fa (patch) | |
| tree | aeef5e8bcf2d0577ed84d8d591fbeac40267a962 /src/video_core/vulkan_common/vulkan_device.h | |
| parent | 47d5ec6cfc328e304435837dac99a07965b60a59 (diff) | |
vulkan_common: Expose interop and headless devices
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); |
