diff options
| author | Lioncash <mathew1800@gmail.com> | 2020-11-09 03:26:14 -0500 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2020-11-09 03:26:16 -0500 |
| commit | 21dd7a8ebb23ab05373ab65558a7a47927f402f1 (patch) | |
| tree | a03527ca45f20d5f4f088cc06739d414d390f5db /Source/Core/VideoBackends/Vulkan/SwapChain.cpp | |
| parent | 23a8baa6057c67298f68c6c5d65c177642125212 (diff) | |
Vulkan: Migrate logging over to fmt
Migrates the vulkan backend over to the fmt-capable logger.
Diffstat (limited to 'Source/Core/VideoBackends/Vulkan/SwapChain.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/Vulkan/SwapChain.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/Core/VideoBackends/Vulkan/SwapChain.cpp b/Source/Core/VideoBackends/Vulkan/SwapChain.cpp index 7c2d8c09fa..dbb1fc1cb5 100644 --- a/Source/Core/VideoBackends/Vulkan/SwapChain.cpp +++ b/Source/Core/VideoBackends/Vulkan/SwapChain.cpp @@ -283,7 +283,7 @@ bool SwapChain::CreateSwapChain() VkImageUsageFlags image_usage = VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT; if (!(surface_capabilities.supportedUsageFlags & VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT)) { - ERROR_LOG(VIDEO, "Vulkan: Swap chain does not support usage as color attachment"); + ERROR_LOG_FMT(VIDEO, "Vulkan: Swap chain does not support usage as color attachment"); return false; } @@ -341,7 +341,7 @@ bool SwapChain::CreateSwapChain() if (res != VK_SUCCESS) { // Try without exclusive fullscreen. - WARN_LOG(VIDEO, "Failed to create exclusive fullscreen swapchain, trying without."); + WARN_LOG_FMT(VIDEO, "Failed to create exclusive fullscreen swapchain, trying without."); swap_chain_info.pNext = nullptr; g_Config.backend_info.bSupportsExclusiveFullscreen = false; g_ActiveConfig.backend_info.bSupportsExclusiveFullscreen = false; @@ -514,7 +514,7 @@ bool SwapChain::SetFullscreenState(bool state) return false; } - INFO_LOG(VIDEO, "Exclusive fullscreen acquired."); + INFO_LOG_FMT(VIDEO, "Exclusive fullscreen acquired."); } else { @@ -522,7 +522,7 @@ bool SwapChain::SetFullscreenState(bool state) if (res != VK_SUCCESS) LOG_VULKAN_ERROR(res, "vkReleaseFullScreenExclusiveModeEXT failed:"); - INFO_LOG(VIDEO, "Exclusive fullscreen released."); + INFO_LOG_FMT(VIDEO, "Exclusive fullscreen released."); } m_current_fullscreen_state = state; |
