Fix UI backgrounds vanishing when toggling basic shaders on and off.
This commit is contained in:
@@ -455,7 +455,7 @@ void LLTexUnit::unbind(eTextureType type)
|
||||
{
|
||||
gGL.flush();
|
||||
mCurrTexture = 0;
|
||||
if (LLGLSLShader::sNoFixedFunction && type == LLTexUnit::TT_TEXTURE)
|
||||
if (/*LLGLSLShader::sNoFixedFunction && */type == LLTexUnit::TT_TEXTURE)
|
||||
{
|
||||
//if (sWhiteTexture)
|
||||
// validate_bind_texture(sWhiteTexture);
|
||||
|
||||
Reference in New Issue
Block a user