Log: Simplify macros

This commit is contained in:
Stenzek
2024-05-23 20:55:28 +10:00
parent 792717e03e
commit 4e922a34a7
144 changed files with 2273 additions and 2363 deletions

View File

@ -112,7 +112,8 @@ void PostProcessing::GLSLShader::FillUniformBuffer(void* buffer, u32 texture_wid
}
}
bool PostProcessing::GLSLShader::CompilePipeline(GPUTexture::Format format, u32 width, u32 height, ProgressCallback* progress)
bool PostProcessing::GLSLShader::CompilePipeline(GPUTexture::Format format, u32 width, u32 height,
ProgressCallback* progress)
{
if (m_pipeline)
m_pipeline.reset();
@ -254,7 +255,7 @@ void PostProcessing::GLSLShader::LoadOptions()
else if (sub == "OptionRangeInteger")
current_option.type = ShaderOption::Type::Int;
else
Log_ErrorFmt("Invalid option type: '{}'", line_str);
ERROR_LOG("Invalid option type: '{}'", line_str);
continue;
}
@ -304,7 +305,7 @@ void PostProcessing::GLSLShader::LoadOptions()
}
else
{
Log_ErrorFmt("Invalid option key: '{}'", line_str);
ERROR_LOG("Invalid option key: '{}'", line_str);
}
}
}