diff options
Diffstat (limited to 'linden/indra/newview/llviewerdisplay.cpp')
-rw-r--r-- | linden/indra/newview/llviewerdisplay.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/linden/indra/newview/llviewerdisplay.cpp b/linden/indra/newview/llviewerdisplay.cpp index 64ad66c..b4dc093 100644 --- a/linden/indra/newview/llviewerdisplay.cpp +++ b/linden/indra/newview/llviewerdisplay.cpp | |||
@@ -2,6 +2,8 @@ | |||
2 | * @file llviewerdisplay.cpp | 2 | * @file llviewerdisplay.cpp |
3 | * @brief LLViewerDisplay class implementation | 3 | * @brief LLViewerDisplay class implementation |
4 | * | 4 | * |
5 | * $LicenseInfo:firstyear=2004&license=viewergpl$ | ||
6 | * | ||
5 | * Copyright (c) 2004-2007, Linden Research, Inc. | 7 | * Copyright (c) 2004-2007, Linden Research, Inc. |
6 | * | 8 | * |
7 | * Second Life Viewer Source Code | 9 | * Second Life Viewer Source Code |
@@ -24,6 +26,7 @@ | |||
24 | * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO | 26 | * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO |
25 | * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, | 27 | * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, |
26 | * COMPLETENESS OR PERFORMANCE. | 28 | * COMPLETENESS OR PERFORMANCE. |
29 | * $/LicenseInfo$ | ||
27 | */ | 30 | */ |
28 | 31 | ||
29 | #include "llviewerprecompiledheaders.h" | 32 | #include "llviewerprecompiledheaders.h" |
@@ -239,6 +242,10 @@ void display(BOOL rebuild, F32 zoom_factor, int subfield) | |||
239 | LLVOAvatar::sRenderName = gSavedSettings.getS32("RenderName"); | 242 | LLVOAvatar::sRenderName = gSavedSettings.getS32("RenderName"); |
240 | gPipeline.mBackfaceCull = TRUE; | 243 | gPipeline.mBackfaceCull = TRUE; |
241 | gFrameCount++; | 244 | gFrameCount++; |
245 | if (gFocusMgr.getAppHasFocus()) | ||
246 | { | ||
247 | gForegroundFrameCount++; | ||
248 | } | ||
242 | 249 | ||
243 | ////////////////////////////////////////////////////////// | 250 | ////////////////////////////////////////////////////////// |
244 | // | 251 | // |