diff --git a/src/video_core/renderer_vulkan/vk_swapchain.h b/src/video_core/renderer_vulkan/vk_swapchain.h index b3e1c4f025..389c5525c8 100644 --- a/src/video_core/renderer_vulkan/vk_swapchain.h +++ b/src/video_core/renderer_vulkan/vk_swapchain.h @@ -27,10 +27,7 @@ public: #else VkSurfaceKHR_T* surface_handle, #endif - const Device& device, - Scheduler& scheduler, - u32 width, - u32 height); + const Device& device, Scheduler& scheduler, u32 width, u32 height); ~Swapchain(); /// Creates (or recreates) the swapchain with a given size. @@ -40,8 +37,7 @@ public: #else VkSurfaceKHR_T* surface_handle, #endif - u32 width, - u32 height); + u32 width, u32 height); /// Acquires the next image in the swapchain, waits as needed. bool AcquireNextImage(); @@ -101,7 +97,7 @@ public: } VkSemaphore CurrentRenderSemaphore() const { - return *render_semaphores[frame_index]; + return *render_semaphores[image_index]; } u32 GetWidth() const {