I don't trust this statement to work without the parentesis.

This commit is contained in:
Shyotl
2011-10-20 13:46:56 -05:00
parent 5d811163a6
commit c63bf31328

View File

@@ -259,8 +259,8 @@ void LLDrawPoolAlpha::render(S32 pass)
}
}
LLGLDepthTest depth(GL_TRUE, LLDrawPoolWater::sSkipScreenCopy ||
(deferred_render && pass == 1) ? GL_TRUE : GL_FALSE);
LLGLDepthTest depth(GL_TRUE, (LLDrawPoolWater::sSkipScreenCopy ||
(deferred_render && pass == 1)) ? GL_TRUE : GL_FALSE);
if (deferred_render && pass == 1)
{