summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/D3DCommon/Shader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/VideoBackends/D3DCommon/Shader.cpp')
-rw-r--r--Source/Core/VideoBackends/D3DCommon/Shader.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoBackends/D3DCommon/Shader.cpp b/Source/Core/VideoBackends/D3DCommon/Shader.cpp
index 4535fae6ef..9ea83ffa30 100644
--- a/Source/Core/VideoBackends/D3DCommon/Shader.cpp
+++ b/Source/Core/VideoBackends/D3DCommon/Shader.cpp
@@ -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());