Misc: Replace log printf calls with fmt

This commit is contained in:
Stenzek
2024-05-23 20:20:16 +10:00
parent 49b2e76dea
commit b6d019db66
117 changed files with 1585 additions and 1615 deletions

View File

@ -254,7 +254,7 @@ void PostProcessing::GLSLShader::LoadOptions()
else if (sub == "OptionRangeInteger")
current_option.type = ShaderOption::Type::Int;
else
Log_ErrorPrintf("Invalid option type: '%s'", line_str.c_str());
Log_ErrorFmt("Invalid option type: '{}'", line_str);
continue;
}
@ -304,7 +304,7 @@ void PostProcessing::GLSLShader::LoadOptions()
}
else
{
Log_ErrorPrintf("Invalid option key: '%s'", line_str.c_str());
Log_ErrorFmt("Invalid option key: '{}'", line_str);
}
}
}