diff --git a/indra/llrender/llrender.cpp b/indra/llrender/llrender.cpp
index 41301b6c852795fbedd03f223384039bc4a41c7e..b481cf7095e15c821d2018a1403902f11d120356 100755
--- a/indra/llrender/llrender.cpp
+++ b/indra/llrender/llrender.cpp
@@ -2196,9 +2196,8 @@ void LLRender::texCoord2fv(const GLfloat* tc)
 
 void LLRender::color4ub(const GLubyte& r, const GLubyte& g, const GLubyte& b, const GLubyte& a)
 {
-	if (LLGLSLShader::sNoFixedFunction && 
-		(!LLGLSLShader::sCurBoundShaderPtr || 
-		LLGLSLShader::sCurBoundShaderPtr->mAttributeMask & LLVertexBuffer::MAP_COLOR))
+	if (!LLGLSLShader::sCurBoundShaderPtr ||
+		LLGLSLShader::sCurBoundShaderPtr->mAttributeMask & LLVertexBuffer::MAP_COLOR)
 	{
 		mColorsp[mCount] = LLColor4U(r,g,b,a);
 	}