Supress bool/BOOL comparison warning
This commit is contained in:
@@ -446,7 +446,7 @@ void LLDrawPoolAlpha::renderAlpha(U32 mask, S32 pass)
|
||||
llassert_always(!LLGLSLShader::sCurBoundShaderPtr);
|
||||
|
||||
bool fullbright = depth_only || params.mFullbright;
|
||||
if(fullbright == light_enabled || !initialized_lighting)
|
||||
if(fullbright == !!light_enabled || !initialized_lighting)
|
||||
{
|
||||
light_enabled = !fullbright;
|
||||
initialized_lighting = true;
|
||||
|
||||
Reference in New Issue
Block a user