diff --git a/rpcs3/Emu/RSX/VK/VKHelpers.cpp b/rpcs3/Emu/RSX/VK/VKHelpers.cpp index 9c09a47bdb..bb5879b4bb 100644 --- a/rpcs3/Emu/RSX/VK/VKHelpers.cpp +++ b/rpcs3/Emu/RSX/VK/VKHelpers.cpp @@ -585,21 +585,21 @@ namespace vk { CHECK_RESULT(vkResetFences(*g_current_renderer, 1, pFence)); } - } - - void wait_for_fence(VkFence fence) - { - while (auto status = vkGetFenceStatus(*g_current_renderer, fence)) - { - switch (status) - { - case VK_NOT_READY: - continue; - default: - die_with_error(HERE, status); - return; - } - } + } + + void wait_for_fence(VkFence fence) + { + while (auto status = vkGetFenceStatus(*g_current_renderer, fence)) + { + switch (status) + { + case VK_NOT_READY: + continue; + default: + die_with_error(HERE, status); + return; + } + } } void die_with_error(const char* faulting_addr, VkResult error_code)