clang tidy misc fixes

adress mixed || plus && concerns raised
This commit is contained in:
AzaezelX 2024-03-18 20:11:44 -05:00
parent 15971185ee
commit c337d5a9d2
3 changed files with 3 additions and 3 deletions

View file

@ -33,7 +33,7 @@ void DebugVizHLSL::processPix(Vector<ShaderComponent*>& componentList,
S32 vizDisplayMode = Con::getIntVariable("$Viz_DisplayMode", 0);
S32 surfaceVizMode = Con::getIntVariable("$Viz_SurfacePropertiesModeVar", -1);
if (surfaceVizMode != -1 && vizDisplayMode == 0 || vizDisplayMode == 1)
if ((surfaceVizMode != -1 && vizDisplayMode == 0) || vizDisplayMode == 1)
{
if (color)
{