PostProcessingShader: Fix a compile warning

This commit is contained in:
Connor McLaughlin 2020-09-23 20:19:38 +10:00
parent ffd2ac74d9
commit f022bdb328

View file

@ -166,7 +166,7 @@ std::string PostProcessingShader::GetConfigString() const
switch (option.type) switch (option.type)
{ {
case Option::Type::Bool: case Option::Type::Bool:
ss << (option.value[i].int_value != 0) ? "true" : "false"; ss << ((option.value[i].int_value != 0) ? "true" : "false");
break; break;
case Option::Type::Int: case Option::Type::Int:
@ -416,4 +416,4 @@ void PostProcessingShader::LoadOptions()
} }
} }
} // namespace FrontendCommon } // namespace FrontendCommon