diff --git a/indra/newview/llviewerwindow.cpp b/indra/newview/llviewerwindow.cpp index 867d10857..3e4d71f6d 100644 --- a/indra/newview/llviewerwindow.cpp +++ b/indra/newview/llviewerwindow.cpp @@ -309,6 +309,13 @@ public: U32 ypos = 64; const U32 y_inc = 20; + static const LLCachedControl slb_show_fps("SLBShowFPS"); + if (slb_show_fps) + { + addText(xpos+280, ypos+5, llformat("FPS %3.1f", LLViewerStats::getInstance()->mFPSStat.getMeanPerSec())); + ypos += y_inc; + } + static const LLCachedControl debug_show_time("DebugShowTime"); if (debug_show_time) { @@ -729,13 +736,6 @@ public: ypos += y_inc; } - static const LLCachedControl slb_show_fps("SLBShowFPS"); - if (slb_show_fps) - { - addText(xpos+280, ypos+5, llformat("FPS %3.1f", LLViewerStats::getInstance()->mFPSStat.getMeanPerSec())); - ypos += y_inc; - } - static const LLCachedControl DebugShowPrivateMem("DebugShowPrivateMem",false); if (DebugShowPrivateMem) {