Verify vert attrib disable state if only running in non-fixed-function.
This commit is contained in:
@@ -1896,7 +1896,7 @@ void LLGLState::checkClientArrays(const std::string& msg, U32 data_mask)
|
||||
glClientActiveTextureARB(GL_TEXTURE0_ARB);
|
||||
gGL.getTexUnit(0)->activate();
|
||||
|
||||
if (gGLManager.mHasVertexShader)
|
||||
if (gGLManager.mHasVertexShader && LLGLSLShader::sNoFixedFunction)
|
||||
{ //make sure vertex attribs are all disabled
|
||||
GLint count;
|
||||
glGetIntegerv(GL_MAX_VERTEX_ATTRIBS_ARB, &count);
|
||||
|
||||
Reference in New Issue
Block a user