diff options
author | Mike Lothian <mike@fireburn.co.uk> | 2023-12-22 14:28:17 +0100 |
---|---|---|
committer | Mike Lothian <mike@fireburn.co.uk> | 2024-01-22 04:10:43 +0100 |
commit | 23e074ff140de6aab84c6a14fcc30a469c64b089 (patch) | |
tree | 9a7c311d3ac9d6d6cd34ed971005759a4158fefb /src/video_core/renderer_vulkan/vk_swapchain.cpp | |
parent | Add Vulkan-Utility-Libraries dependency (diff) | |
download | yuzu-23e074ff140de6aab84c6a14fcc30a469c64b089.tar yuzu-23e074ff140de6aab84c6a14fcc30a469c64b089.tar.gz yuzu-23e074ff140de6aab84c6a14fcc30a469c64b089.tar.bz2 yuzu-23e074ff140de6aab84c6a14fcc30a469c64b089.tar.lz yuzu-23e074ff140de6aab84c6a14fcc30a469c64b089.tar.xz yuzu-23e074ff140de6aab84c6a14fcc30a469c64b089.tar.zst yuzu-23e074ff140de6aab84c6a14fcc30a469c64b089.zip |
Diffstat (limited to 'src/video_core/renderer_vulkan/vk_swapchain.cpp')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_swapchain.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/video_core/renderer_vulkan/vk_swapchain.cpp b/src/video_core/renderer_vulkan/vk_swapchain.cpp index 86a30dcd1..4f1d3b4e3 100644 --- a/src/video_core/renderer_vulkan/vk_swapchain.cpp +++ b/src/video_core/renderer_vulkan/vk_swapchain.cpp @@ -12,6 +12,7 @@ #include "core/core.h" #include "video_core/renderer_vulkan/vk_scheduler.h" #include "video_core/renderer_vulkan/vk_swapchain.h" +#include "video_core/vulkan_common/vk_enum_string_helper.h" #include "video_core/vulkan_common/vulkan_device.h" #include "video_core/vulkan_common/vulkan_wrapper.h" #include "vulkan/vulkan_core.h" @@ -151,7 +152,7 @@ bool Swapchain::AcquireNextImage() { vk::Check(result); break; default: - LOG_ERROR(Render_Vulkan, "vkAcquireNextImageKHR returned {}", vk::ToString(result)); + LOG_ERROR(Render_Vulkan, "vkAcquireNextImageKHR returned {}", string_VkResult(result)); break; } @@ -187,7 +188,7 @@ void Swapchain::Present(VkSemaphore render_semaphore) { vk::Check(result); break; default: - LOG_CRITICAL(Render_Vulkan, "Failed to present with error {}", vk::ToString(result)); + LOG_CRITICAL(Render_Vulkan, "Failed to present with error {}", string_VkResult(result)); break; } ++frame_index; |