diff options
author | bunnei <bunneidev@gmail.com> | 2023-05-04 06:54:31 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2023-06-03 09:05:59 +0200 |
commit | 117bc2ae6c9683fd4530cfddb33b4ffc9419cff7 (patch) | |
tree | abe55ef4689045d68e88938078544fbdf0356c46 /src/video_core/renderer_vulkan/vk_swapchain.h | |
parent | android: Game data cache (diff) | |
download | yuzu-117bc2ae6c9683fd4530cfddb33b4ffc9419cff7.tar yuzu-117bc2ae6c9683fd4530cfddb33b4ffc9419cff7.tar.gz yuzu-117bc2ae6c9683fd4530cfddb33b4ffc9419cff7.tar.bz2 yuzu-117bc2ae6c9683fd4530cfddb33b4ffc9419cff7.tar.lz yuzu-117bc2ae6c9683fd4530cfddb33b4ffc9419cff7.tar.xz yuzu-117bc2ae6c9683fd4530cfddb33b4ffc9419cff7.tar.zst yuzu-117bc2ae6c9683fd4530cfddb33b4ffc9419cff7.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; |