Skip checkClientArrays if not using fixed-function

This commit is contained in:
Shyotl
2011-09-09 14:39:44 -05:00
parent 417f5084b4
commit 3b435fe056

View File

@@ -1567,7 +1567,7 @@ void LLGLState::checkTextureChannels(const std::string& msg)
void LLGLState::checkClientArrays(const std::string& msg, U32 data_mask)
{
if (!gDebugGL)
if (!gDebugGL || LLGLSLShader::sNoFixedFunction)
{
return;
}