summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/PostProcessing.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-11-13 22:33:26 -0500
committerLioncash <mathew1800@gmail.com>2020-11-17 21:23:58 -0500
commit3d9b2aa0055ded7ee74f6e4a73ff54acecf313a9 (patch)
tree0ff92a960d77b6bc8b92bed1c7d61f79206887dc /Source/Core/VideoCommon/PostProcessing.cpp
parent8a621c2d5e7722de5148a0a40d4072445cffb361 (diff)
VideoCommon: Migrate over to fmt
Migrates off the printf-based formatting where applicable.
Diffstat (limited to 'Source/Core/VideoCommon/PostProcessing.cpp')
-rw-r--r--Source/Core/VideoCommon/PostProcessing.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/VideoCommon/PostProcessing.cpp b/Source/Core/VideoCommon/PostProcessing.cpp
index 44667a4096..e21b474f0b 100644
--- a/Source/Core/VideoCommon/PostProcessing.cpp
+++ b/Source/Core/VideoCommon/PostProcessing.cpp
@@ -72,7 +72,7 @@ void PostProcessingConfiguration::LoadShader(const std::string& shader)
if (!File::ReadFileToString(path, code))
{
- ERROR_LOG(VIDEO, "Post-processing shader not found: %s", path.c_str());
+ ERROR_LOG_FMT(VIDEO, "Post-processing shader not found: {}", path);
LoadDefaultShader();
return;
}
@@ -640,7 +640,7 @@ bool PostProcessing::CompileVertexShader()
m_vertex_shader = g_renderer->CreateShaderFromSource(ShaderStage::Vertex, ss.str());
if (!m_vertex_shader)
{
- PanicAlert("Failed to compile post-processing vertex shader");
+ PanicAlertFmt("Failed to compile post-processing vertex shader");
return false;
}
@@ -729,7 +729,7 @@ bool PostProcessing::CompilePixelShader()
ShaderStage::Pixel, GetHeader() + m_config.GetShaderCode() + GetFooter());
if (!m_pixel_shader)
{
- PanicAlert("Failed to compile post-processing shader %s", m_config.GetShader().c_str());
+ PanicAlertFmt("Failed to compile post-processing shader {}", m_config.GetShader());
// Use default shader.
m_config.LoadDefaultShader();