summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorXiaohong Bao <bao@lindenlab.com>2011-07-15 17:01:25 -0600
committerXiaohong Bao <bao@lindenlab.com>2011-07-15 17:01:25 -0600
commit5267378577c6e1ca98cdaa6be601550b53b8692f (patch)
tree45b5dad62baf2f154a6eeddb7e02cf442f58bf0b /indra/newview
parent0e2291535298ca90ae994ce8e2e56836aaa707bc (diff)
fix for SH-1786: [PUBLIC] Turning off Lights and Shadows disables Glow
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llviewercontrol.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llviewercontrol.cpp b/indra/newview/llviewercontrol.cpp
index 87ca80260f..65da232f1c 100644
--- a/indra/newview/llviewercontrol.cpp
+++ b/indra/newview/llviewercontrol.cpp
@@ -404,7 +404,7 @@ static bool handleRenderDeferredChanged(const LLSD& newvalue)
gPipeline.releaseGLBuffers();
gPipeline.createGLBuffers();
gPipeline.resetVertexBuffers();
- if (LLPipeline::sRenderDeferred && LLRenderTarget::sUseFBO)
+ if (LLPipeline::sRenderDeferred == (BOOL)LLRenderTarget::sUseFBO)
{
LLViewerShaderMgr::instance()->setShaders();
}