LLViewerShaderMgr::setShaders() should be called unconditionally upon restoreGL.

This commit is contained in:
Shyotl
2015-05-18 15:36:50 -05:00
parent 55e3ddb465
commit af020ad558

View File

@@ -1206,10 +1206,7 @@ void LLPipeline::restoreGL()
{ {
assertInitialized(); assertInitialized();
if (LLGLSLShader::sNoFixedFunction) LLViewerShaderMgr::instance()->setShaders();
{
LLViewerShaderMgr::instance()->setShaders();
}
for (LLWorld::region_list_t::const_iterator iter = LLWorld::getInstance()->getRegionList().begin(); for (LLWorld::region_list_t::const_iterator iter = LLWorld::getInstance()->getRegionList().begin();
iter != LLWorld::getInstance()->getRegionList().end(); ++iter) iter != LLWorld::getInstance()->getRegionList().end(); ++iter)