summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2010-10-12 17:04:41 -0500
committerDave Parks <davep@lindenlab.com>2010-10-12 17:04:41 -0500
commit4fc7a221e12be5557d7df401c54b5688e8305b08 (patch)
treef6795e04f16d790d63f65d2da3f29bdc7af0b093
parente7fcc897acad338642b4feca29ac43c1e5f90e2a (diff)
Disable uniform map checking for now (breaks on several valid edge cases).
-rw-r--r--indra/llrender/llglslshader.cpp4
1 files changed, 2 insertions, 2 deletions
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;
}