mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 16:49:58 -06:00
D3D12: Migrate logging over to fmt
Migrates the logging over to the fmt-capable logger.
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user