D3DCommon: Migrate logging over to fmt

Migrates the logging over to the fmt-capable logger.
This commit is contained in:
Lioncash
2020-11-09 03:03:23 -05:00
parent 2345d5f98d
commit 4d9a7c7a54
2 changed files with 5 additions and 5 deletions

View File

@ -126,8 +126,8 @@ std::optional<Shader::BinaryData> Shader::CompileShader(D3D_FEATURE_LEVEL featur
if (errors && errors->GetBufferSize() > 0)
{
WARN_LOG(VIDEO, "%s compilation succeeded with warnings:\n%s", target,
static_cast<const char*>(errors->GetBufferPointer()));
WARN_LOG_FMT(VIDEO, "{} compilation succeeded with warnings:\n{}", target,
static_cast<const char*>(errors->GetBufferPointer()));
}
return CreateByteCode(code->GetBufferPointer(), code->GetBufferSize());