summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGraham Madarasz <graham@lindenlab.com>2013-05-01 14:31:35 -0700
committerGraham Madarasz <graham@lindenlab.com>2013-05-01 14:31:35 -0700
commit78004e74f2343010d64c58b0cb026213e614f234 (patch)
treefe51abacf666df3f3d4359512ec124e11038640f
parentd328bfd96e1c148000456d2dab4d6c619ebabbee (diff)
Add some diag for debugging light func tex binding
-rwxr-xr-xindra/newview/pipeline.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp
index f053d26172..ee864740a0 100755
--- a/indra/newview/pipeline.cpp
+++ b/indra/newview/pipeline.cpp
@@ -7835,6 +7835,10 @@ void LLPipeline::bindDeferredShader(LLGLSLShader& shader, U32 light_index, U32 n
{
gGL.getTexUnit(channel)->bindManual(LLTexUnit::TT_TEXTURE, mLightFunc);
}
+ else
+ {
+ llinfos << "Failed to bind light func texture. Ugly lighting dead ahead!" << llendl;
+ }
stop_glerror();