diff options
| author | Léo Lam <leo@leolam.fr> | 2020-11-12 14:51:28 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-12 14:51:28 +0100 |
| commit | 8a621c2d5e7722de5148a0a40d4072445cffb361 (patch) | |
| tree | 99878aba6ea4a45ff473092a7f9b8d1db7892ced /Source/Core/VideoBackends/Vulkan/SwapChain.cpp | |
| parent | ec5313fe24fe0b301603466c12f402fc08605813 (diff) | |
| parent | 21dd7a8ebb23ab05373ab65558a7a47927f402f1 (diff) | |
Merge pull request #9236 from lioncash/log-backend
VideoBackends: Migrate logging over to fmt
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; |
