diff options
author | Graham Madarasz <graham@lindenlab.com> | 2013-05-01 14:31:35 -0700 |
---|---|---|
committer | Graham Madarasz <graham@lindenlab.com> | 2013-05-01 14:31:35 -0700 |
commit | 78004e74f2343010d64c58b0cb026213e614f234 (patch) | |
tree | fe51abacf666df3f3d4359512ec124e11038640f | |
parent | d328bfd96e1c148000456d2dab4d6c619ebabbee (diff) |
Add some diag for debugging light func tex binding
-rwxr-xr-x | indra/newview/pipeline.cpp | 4 |
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(); |