From 3b435fe056e7f308f28821cc21bed0b28439c8bc Mon Sep 17 00:00:00 2001 From: Shyotl Date: Fri, 9 Sep 2011 14:39:44 -0500 Subject: [PATCH] Skip checkClientArrays if not using fixed-function --- indra/llrender/llgl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/llrender/llgl.cpp b/indra/llrender/llgl.cpp index ad71587ac..40baf7b33 100644 --- a/indra/llrender/llgl.cpp +++ b/indra/llrender/llgl.cpp @@ -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; }