summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2013-06-11 16:42:34 -0500
committerDave Parks <davep@lindenlab.com>2013-06-11 16:42:34 -0500
commit320677a6ce25d77202d42b3003fb0eb12491e33d (patch)
treee5158352fbd84d651763a30870b71899751576df /indra/newview
parent7fcbb7c177ba0c7fe3c0e97f95544481a279bf7f (diff)
parent471182e9131b6ea563600900ba7dac03753aed1a (diff)
Automated merge with https://bitbucket.org/lindenlab/viewer-development-materials
Diffstat (limited to 'indra/newview')
-rwxr-xr-xindra/newview/pipeline.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp
index c144a07512..b5fbf08786 100755
--- a/indra/newview/pipeline.cpp
+++ b/indra/newview/pipeline.cpp
@@ -1058,6 +1058,12 @@ void LLPipeline::updateRenderDeferred()
{ //must render glow when rendering deferred since post effect pass is needed to present any lighting at all
sRenderGlow = TRUE;
}
+
+ if (LLRenderTarget::sUseFBO && !sRenderDeferred)
+ { //this case should never happen, but some odd startup state can cause it to
+ LLRenderTarget::sUseFBO = FALSE;
+ }
+
}
//static