summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerdisplay.cpp
diff options
context:
space:
mode:
authorXiaohong Bao <bao@lindenlab.com>2012-11-21 13:29:15 -0700
committerXiaohong Bao <bao@lindenlab.com>2012-11-21 13:29:15 -0700
commit6ae6abae26200c80a15d2e2d899ae6970602ff04 (patch)
tree20474eb36d9604db80c397cbec4fc7f4e49b380b /indra/newview/llviewerdisplay.cpp
parentced00c47328f69a5426e6c69dce59c8f29856c51 (diff)
more for SH-3571: display frame-to-frame pixel differences on screen
Diffstat (limited to 'indra/newview/llviewerdisplay.cpp')
-rw-r--r--indra/newview/llviewerdisplay.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/indra/newview/llviewerdisplay.cpp b/indra/newview/llviewerdisplay.cpp
index c12144df6f..270ab26149 100644
--- a/indra/newview/llviewerdisplay.cpp
+++ b/indra/newview/llviewerdisplay.cpp
@@ -1229,6 +1229,13 @@ void render_ui(F32 zoom_factor, int subfield)
}
{
+ gGL.pushMatrix();
+ gViewerWindow->setup2DRender();
+ LLSceneMonitor::getInstance()->compare();
+ gGL.popMatrix();
+ }
+
+ {
BOOL to_texture = gPipeline.canUseVertexShaders() &&
LLPipeline::sRenderGlow;
@@ -1409,8 +1416,6 @@ void render_ui_2d()
// Menu overlays, HUD, etc
gViewerWindow->setup2DRender();
- LLSceneMonitor::getInstance()->compare();
-
F32 zoom_factor = LLViewerCamera::getInstance()->getZoomFactor();
S16 sub_region = LLViewerCamera::getInstance()->getZoomSubRegion();