summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Vulkan/main.cpp
diff options
context:
space:
mode:
authorLéo Lam <leo@leolam.fr>2020-11-12 14:51:28 +0100
committerGitHub <noreply@github.com>2020-11-12 14:51:28 +0100
commit8a621c2d5e7722de5148a0a40d4072445cffb361 (patch)
tree99878aba6ea4a45ff473092a7f9b8d1db7892ced /Source/Core/VideoBackends/Vulkan/main.cpp
parentec5313fe24fe0b301603466c12f402fc08605813 (diff)
parent21dd7a8ebb23ab05373ab65558a7a47927f402f1 (diff)
Merge pull request #9236 from lioncash/log-backend
VideoBackends: Migrate logging over to fmt
Diffstat (limited to 'Source/Core/VideoBackends/Vulkan/main.cpp')
-rw-r--r--Source/Core/VideoBackends/Vulkan/main.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/Core/VideoBackends/Vulkan/main.cpp b/Source/Core/VideoBackends/Vulkan/main.cpp
index 5a583de124..0c07f283ad 100644
--- a/Source/Core/VideoBackends/Vulkan/main.cpp
+++ b/Source/Core/VideoBackends/Vulkan/main.cpp
@@ -106,7 +106,7 @@ bool VideoBackend::Initialize(const WindowSystemInfo& wsi)
bool enable_validation_layer = g_Config.bEnableValidationLayer;
if (enable_validation_layer && !VulkanContext::CheckValidationLayerAvailablility())
{
- WARN_LOG(VIDEO, "Validation layer requested but not available, disabling.");
+ WARN_LOG_FMT(VIDEO, "Validation layer requested but not available, disabling.");
enable_validation_layer = false;
}
@@ -166,7 +166,7 @@ bool VideoBackend::Initialize(const WindowSystemInfo& wsi)
size_t selected_adapter_index = static_cast<size_t>(g_Config.iAdapter);
if (selected_adapter_index >= gpu_list.size())
{
- WARN_LOG(VIDEO, "Vulkan adapter index out of range, selecting first adapter.");
+ WARN_LOG_FMT(VIDEO, "Vulkan adapter index out of range, selecting first adapter.");
selected_adapter_index = 0;
}
@@ -312,7 +312,7 @@ void VideoBackend::PrepareWindow(WindowSystemInfo& wsi)
Class clsCAMetalLayer = objc_getClass("CAMetalLayer");
if (!clsCAMetalLayer)
{
- ERROR_LOG(VIDEO, "Failed to get CAMetalLayer class.");
+ ERROR_LOG_FMT(VIDEO, "Failed to get CAMetalLayer class.");
return;
}
@@ -321,7 +321,7 @@ void VideoBackend::PrepareWindow(WindowSystemInfo& wsi)
sel_getUid("layer"));
if (!layer)
{
- ERROR_LOG(VIDEO, "Failed to create Metal layer.");
+ ERROR_LOG_FMT(VIDEO, "Failed to create Metal layer.");
return;
}