LLViewerShaderMgr::setShaders() should be called unconditionally upon restoreGL.
This commit is contained in:
@@ -1206,10 +1206,7 @@ void LLPipeline::restoreGL()
|
||||
{
|
||||
assertInitialized();
|
||||
|
||||
if (LLGLSLShader::sNoFixedFunction)
|
||||
{
|
||||
LLViewerShaderMgr::instance()->setShaders();
|
||||
}
|
||||
LLViewerShaderMgr::instance()->setShaders();
|
||||
|
||||
for (LLWorld::region_list_t::const_iterator iter = LLWorld::getInstance()->getRegionList().begin();
|
||||
iter != LLWorld::getInstance()->getRegionList().end(); ++iter)
|
||||
|
||||
Reference in New Issue
Block a user