From 21dd7a8ebb23ab05373ab65558a7a47927f402f1 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Mon, 9 Nov 2020 03:26:14 -0500 Subject: Vulkan: Migrate logging over to fmt Migrates the vulkan backend over to the fmt-capable logger. --- Source/Core/VideoBackends/Vulkan/main.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Source/Core/VideoBackends/Vulkan/main.cpp') 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(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; } -- cgit v1.2.3