mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 20:12:21 +02:00
Only showing FPS in dev mode
This commit is contained in:
parent
f9ef95cb1c
commit
20d5835ff3
1 changed files with 48 additions and 45 deletions
|
@ -358,6 +358,8 @@ namespace IDE.ui
|
||||||
else
|
else
|
||||||
mStatusBoxUpdateCnt = -1;
|
mStatusBoxUpdateCnt = -1;
|
||||||
|
|
||||||
|
if (gApp.mSettings.mEnableDevMode)
|
||||||
|
{
|
||||||
g.DrawString(StackStringFormat!("FPS: {0}", gApp.mLastFPS), GS!(4), 0);
|
g.DrawString(StackStringFormat!("FPS: {0}", gApp.mLastFPS), GS!(4), 0);
|
||||||
|
|
||||||
String resolveStr = scope String();
|
String resolveStr = scope String();
|
||||||
|
@ -409,4 +411,5 @@ namespace IDE.ui
|
||||||
g.DrawString(resolveStr, GS!(100), 0);
|
g.DrawString(resolveStr, GS!(100), 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue