Fix 'setBuffer: Shader consumption mismatches data provision.' error in LLPipeline::updateCull. Issue caused by LLDrawPoolAlpha not unbinding shaders when only basic shaders are enabled. https://code.google.com/p/singularity-viewer/issues/detail?id=1281
This commit is contained in:
@@ -221,7 +221,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) //Singu Note: Unbind if shaders are enabled at all, not just windlight atmospherics..
|
||||||
{
|
{
|
||||||
LLGLSLShader::bindNoShader();
|
LLGLSLShader::bindNoShader();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user