summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerdisplay.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llviewerdisplay.cpp')
-rw-r--r--indra/newview/llviewerdisplay.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llviewerdisplay.cpp b/indra/newview/llviewerdisplay.cpp
index c7a892fe70..b4dc093f6a 100644
--- a/indra/newview/llviewerdisplay.cpp
+++ b/indra/newview/llviewerdisplay.cpp
@@ -242,6 +242,10 @@ void display(BOOL rebuild, F32 zoom_factor, int subfield)
LLVOAvatar::sRenderName = gSavedSettings.getS32("RenderName");
gPipeline.mBackfaceCull = TRUE;
gFrameCount++;
+ if (gFocusMgr.getAppHasFocus())
+ {
+ gForegroundFrameCount++;
+ }
//////////////////////////////////////////////////////////
//