summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorandreykproductengine <andreykproductengine@lindenlab.com>2019-08-11 12:50:24 +0300
committerandreykproductengine <andreykproductengine@lindenlab.com>2019-08-11 12:50:24 +0300
commit1be08814e252654db98ce8c39dc8b4cf89c2e1dc (patch)
tree2c55d8452d4e5232fec5f49f98f63884ee06da68 /indra/newview
parentc61d0f42973f1d58e4e6b5b8a4e0911ed0602bb7 (diff)
DRTVWR-493 tiny optimization
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llviewerdisplay.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llviewerdisplay.cpp b/indra/newview/llviewerdisplay.cpp
index 48eed20861..e1409d31ce 100644
--- a/indra/newview/llviewerdisplay.cpp
+++ b/indra/newview/llviewerdisplay.cpp
@@ -1508,9 +1508,9 @@ void render_ui_2d()
if (gSavedSettings.getBOOL("RenderUIBuffer"))
{
LLUI* ui_inst = LLUI::getInstance();
- if (LLUI::getInstance()->mDirty)
+ if (ui_inst->mDirty)
{
- LLUI::getInstance()->mDirty = FALSE;
+ ui_inst->mDirty = FALSE;
LLRect t_rect;
gPipeline.mUIScreen.bindTarget();