PerfText now an option
This commit is contained in:
@@ -174,6 +174,8 @@ namespace OpenRA
|
||||
buttons.Clear();
|
||||
|
||||
renderer.Device.DisableScissor();
|
||||
|
||||
if (Game.Settings.PerfText)
|
||||
renderer.RegularFont.DrawText( rgbaRenderer, "RenderFrame {0} ({2:F1} ms)\nTick {1} ({3:F1} ms)\n".F(
|
||||
Game.RenderFrame,
|
||||
Game.orderManager.FrameNumber,
|
||||
|
||||
@@ -26,6 +26,7 @@ namespace OpenRA.GameRules
|
||||
public readonly bool UnitDebug = false;
|
||||
public readonly bool PathDebug = false;
|
||||
public readonly bool PerfGraph = true;
|
||||
public readonly bool PerfText = true;
|
||||
|
||||
// Window settings
|
||||
public readonly int Width = 0;
|
||||
|
||||
Reference in New Issue
Block a user