SH-2242 Don't make LLDynamicTexture targets use shaders all the time (revisit later).
parent
7821ff23ba
commit
c8b8b153f1
|
|
@ -210,6 +210,9 @@ BOOL LLViewerDynamicTexture::updateAllInstances()
|
|||
LLGLSLShader::bindNoShader();
|
||||
LLVertexBuffer::unbind();
|
||||
|
||||
bool no_ff = LLGLSLShader::sNoFixedFunction;
|
||||
LLGLSLShader::sNoFixedFunction = false;
|
||||
|
||||
BOOL result = FALSE;
|
||||
BOOL ret = FALSE ;
|
||||
for( S32 order = 0; order < ORDER_COUNT; order++ )
|
||||
|
|
@ -240,6 +243,8 @@ BOOL LLViewerDynamicTexture::updateAllInstances()
|
|||
}
|
||||
}
|
||||
|
||||
LLGLSLShader::sNoFixedFunction = no_ff;
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue