diff options
author | Richard Nelson <none@none> | 2010-07-30 15:17:32 -0700 |
---|---|---|
committer | Richard Nelson <none@none> | 2010-07-30 15:17:32 -0700 |
commit | d72a21aca1b9692941c066b7aaca69952c27de68 (patch) | |
tree | eb5edc9a7533e528a4a95fa7e00d6176b741a88c /indra/llui/lllocalcliprect.cpp | |
parent | 76a9c1214fd371bdccf11857156d318cd21ae8bd (diff) |
further UI rendering performance improvements
Diffstat (limited to 'indra/llui/lllocalcliprect.cpp')
-rw-r--r-- | indra/llui/lllocalcliprect.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/llui/lllocalcliprect.cpp b/indra/llui/lllocalcliprect.cpp index 55329f64e4..805d5879f7 100644 --- a/indra/llui/lllocalcliprect.cpp +++ b/indra/llui/lllocalcliprect.cpp @@ -45,9 +45,9 @@ LLScreenClipRect::LLScreenClipRect(const LLRect& rect, BOOL enabled) if (mEnabled) { pushClipRect(rect); + mScissorState.setEnabled(!sClipRectStack.empty()); + updateScissorRegion(); } - mScissorState.setEnabled(!sClipRectStack.empty()); - updateScissorRegion(); } LLScreenClipRect::~LLScreenClipRect() @@ -55,8 +55,8 @@ LLScreenClipRect::~LLScreenClipRect() if (mEnabled) { popClipRect(); + updateScissorRegion(); } - updateScissorRegion(); } //static |