diff options
author | bunnei <bunneidev@gmail.com> | 2023-06-06 06:43:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-06 06:43:43 +0200 |
commit | cb95d7fe1b6d81899fe6b279400da2c991e3132c (patch) | |
tree | a856ac45b1053009c4c11ee141c49d7faa4c8a19 /src/video_core/renderer_vulkan/vk_swapchain.h | |
parent | Merge pull request #10611 from liamwhite/audio-deadlock (diff) | |
parent | Merge pull request #10633 from t895/variable-surface-ratio (diff) | |
download | yuzu-cb95d7fe1b6d81899fe6b279400da2c991e3132c.tar yuzu-cb95d7fe1b6d81899fe6b279400da2c991e3132c.tar.gz yuzu-cb95d7fe1b6d81899fe6b279400da2c991e3132c.tar.bz2 yuzu-cb95d7fe1b6d81899fe6b279400da2c991e3132c.tar.lz yuzu-cb95d7fe1b6d81899fe6b279400da2c991e3132c.tar.xz yuzu-cb95d7fe1b6d81899fe6b279400da2c991e3132c.tar.zst yuzu-cb95d7fe1b6d81899fe6b279400da2c991e3132c.zip |
Diffstat (limited to 'src/video_core/renderer_vulkan/vk_swapchain.h')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_swapchain.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/renderer_vulkan/vk_swapchain.h b/src/video_core/renderer_vulkan/vk_swapchain.h index bf1ea7254..b8a1465a6 100644 --- a/src/video_core/renderer_vulkan/vk_swapchain.h +++ b/src/video_core/renderer_vulkan/vk_swapchain.h @@ -24,7 +24,7 @@ public: ~Swapchain(); /// Creates (or recreates) the swapchain with a given size. - void Create(u32 width, u32 height, bool srgb); + void Create(VkSurfaceKHR surface, u32 width, u32 height, bool srgb); /// Acquires the next image in the swapchain, waits as needed. bool AcquireNextImage(); @@ -118,7 +118,7 @@ private: bool NeedsPresentModeUpdate() const; - const VkSurfaceKHR surface; + VkSurfaceKHR surface; const Device& device; Scheduler& scheduler; |