Fix UI backgrounds vanishing when toggling basic shaders on and off.

This commit is contained in:
Shyotl
2019-07-17 20:20:41 -05:00
parent 94787c6da8
commit 3bc4d6fd63
3 changed files with 3 additions and 3 deletions

View File

@@ -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);