Fixed position of ui element Show FPS to the bottom right corner
This commit is contained in:
@@ -309,6 +309,13 @@ public:
|
||||
U32 ypos = 64;
|
||||
const U32 y_inc = 20;
|
||||
|
||||
static const LLCachedControl<bool> 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<bool> debug_show_time("DebugShowTime");
|
||||
if (debug_show_time)
|
||||
{
|
||||
@@ -729,13 +736,6 @@ public:
|
||||
ypos += y_inc;
|
||||
}
|
||||
|
||||
static const LLCachedControl<bool> 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<bool> DebugShowPrivateMem("DebugShowPrivateMem",false);
|
||||
if (DebugShowPrivateMem)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user