From 78004e74f2343010d64c58b0cb026213e614f234 Mon Sep 17 00:00:00 2001 From: Graham Madarasz Date: Wed, 1 May 2013 14:31:35 -0700 Subject: Add some diag for debugging light func tex binding --- indra/newview/pipeline.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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(); -- cgit v1.2.3