From 4fc7a221e12be5557d7df401c54b5688e8305b08 Mon Sep 17 00:00:00 2001 From: Dave Parks Date: Tue, 12 Oct 2010 17:04:41 -0500 Subject: Disable uniform map checking for now (breaks on several valid edge cases). --- indra/llrender/llglslshader.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'indra') diff --git a/indra/llrender/llglslshader.cpp b/indra/llrender/llglslshader.cpp index ac56bea275..23f8ed0bf0 100644 --- a/indra/llrender/llglslshader.cpp +++ b/indra/llrender/llglslshader.cpp @@ -723,13 +723,13 @@ GLint LLGLSLShader::getUniformLocation(const string& uniform) } } - if (gDebugGL) + /*if (gDebugGL) { if (ret == -1 && ret != glGetUniformLocationARB(mProgramObject, uniform.c_str())) { llerrs << "Uniform map invalid." << llendl; } - } + }*/ return ret; } -- cgit v1.2.3