diff options
Diffstat (limited to 'Source/Core/VideoBackends/D3DCommon/Shader.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/D3DCommon/Shader.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoBackends/D3DCommon/Shader.cpp b/Source/Core/VideoBackends/D3DCommon/Shader.cpp index 9ea83ffa30..88fc70c8a0 100644 --- a/Source/Core/VideoBackends/D3DCommon/Shader.cpp +++ b/Source/Core/VideoBackends/D3DCommon/Shader.cpp @@ -119,8 +119,8 @@ std::optional<Shader::BinaryData> Shader::CompileShader(D3D_FEATURE_LEVEL featur file << "Video Backend: " + g_video_backend->GetDisplayName(); file.close(); - PanicAlert("Failed to compile %s:\nDebug info (%s):\n%s", filename.c_str(), target, - static_cast<const char*>(errors->GetBufferPointer())); + PanicAlertFmt("Failed to compile {}:\nDebug info ({}):\n{}", filename, target, + static_cast<const char*>(errors->GetBufferPointer())); return std::nullopt; } |
