summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/D3D12/DXContext.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-11-09 02:59:48 -0500
committerLioncash <mathew1800@gmail.com>2020-11-09 02:59:51 -0500
commitd7834bd6b4966be32c44aaf5563c3a1cd0367dc3 (patch)
tree05cc23a598da90d96974319d79fd6487462c5f5f /Source/Core/VideoBackends/D3D12/DXContext.cpp
parenta9ef7e0e436795d1ef842aae7433c6173f623f90 (diff)
D3D12: Migrate logging over to fmt
Migrates the logging over to the fmt-capable logger.
Diffstat (limited to 'Source/Core/VideoBackends/D3D12/DXContext.cpp')
-rw-r--r--Source/Core/VideoBackends/D3D12/DXContext.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoBackends/D3D12/DXContext.cpp b/Source/Core/VideoBackends/D3D12/DXContext.cpp
index 6793c915e0..9614ad108f 100644
--- a/Source/Core/VideoBackends/D3D12/DXContext.cpp
+++ b/Source/Core/VideoBackends/D3D12/DXContext.cpp
@@ -152,7 +152,7 @@ bool DXContext::CreateDevice(u32 adapter_index, bool enable_debug_layer)
HRESULT hr = m_dxgi_factory->EnumAdapters(adapter_index, &adapter);
if (FAILED(hr))
{
- ERROR_LOG(VIDEO, "Adapter %u not found, using default", adapter_index);
+ ERROR_LOG_FMT(VIDEO, "Adapter {} not found, using default", adapter_index);
adapter = nullptr;
}
@@ -166,7 +166,7 @@ bool DXContext::CreateDevice(u32 adapter_index, bool enable_debug_layer)
}
else
{
- ERROR_LOG(VIDEO, "Debug layer requested but not available.");
+ ERROR_LOG_FMT(VIDEO, "Debug layer requested but not available.");
enable_debug_layer = false;
}
}