diff options
author | Xiaohong Bao <bao@lindenlab.com> | 2011-07-15 17:01:25 -0600 |
---|---|---|
committer | Xiaohong Bao <bao@lindenlab.com> | 2011-07-15 17:01:25 -0600 |
commit | 5267378577c6e1ca98cdaa6be601550b53b8692f (patch) | |
tree | 45b5dad62baf2f154a6eeddb7e02cf442f58bf0b /indra | |
parent | 0e2291535298ca90ae994ce8e2e56836aaa707bc (diff) |
fix for SH-1786: [PUBLIC] Turning off Lights and Shadows disables Glow
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/llviewercontrol.cpp | 2 |
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(); } |