diff options
author | Dessie Linden <dessie@lindenlab.com> | 2010-05-14 09:11:17 -0700 |
---|---|---|
committer | Dessie Linden <dessie@lindenlab.com> | 2010-05-14 09:11:17 -0700 |
commit | 5fe6a5489ccfea4772f4cd4e3310b98a71ff2bab (patch) | |
tree | 74f791fe0470ae9528b552e87ff572851efab3da /indra/newview/pipeline.cpp | |
parent | c72d3b8bf40d7a6443345a9a53df5e6f7739a4b1 (diff) | |
parent | d9f519d55c4b5cff0fa56d2130a7e25a144be9ff (diff) |
Merged
Diffstat (limited to 'indra/newview/pipeline.cpp')
-rw-r--r-- | indra/newview/pipeline.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp index 2d2fc38573..cc65b34a61 100644 --- a/indra/newview/pipeline.cpp +++ b/indra/newview/pipeline.cpp @@ -284,6 +284,7 @@ BOOL LLPipeline::sRenderFrameTest = FALSE; BOOL LLPipeline::sRenderAttachedLights = TRUE; BOOL LLPipeline::sRenderAttachedParticles = TRUE; BOOL LLPipeline::sRenderDeferred = FALSE; +BOOL LLPipeline::sAllowRebuildPriorityGroup = FALSE ; S32 LLPipeline::sVisibleLightCount = 0; F32 LLPipeline::sMinRenderSize = 0.f; @@ -1780,6 +1781,12 @@ void LLPipeline::updateGL() void LLPipeline::rebuildPriorityGroups() { + if(!sAllowRebuildPriorityGroup) + { + return ; + } + sAllowRebuildPriorityGroup = FALSE ; + LLTimer update_timer; LLMemType mt(LLMemType::MTYPE_PIPELINE); |