Removed annoying attribute consumption warnings. Alpha pass was leaving shader bound, which hosed up updateCull for water reflections (updateCull only binds occlusion shader if another shader isn't currently bound)

This commit is contained in:
Shyotl
2012-10-21 17:14:00 -05:00
parent b73f4dd8e4
commit 44faf3e169

View File

@@ -205,7 +205,7 @@ void LLDrawPoolAlpha::endRenderPass( S32 pass )
LLFastTimer t(FTM_RENDER_ALPHA); LLFastTimer t(FTM_RENDER_ALPHA);
LLRenderPass::endRenderPass(pass); LLRenderPass::endRenderPass(pass);
if(gPipeline.canUseWindLightShaders()) if(mVertexShaderLevel > 0)
{ {
LLGLSLShader::bindNoShader(); LLGLSLShader::bindNoShader();
} }