clean up perf graph a bit
This commit is contained in:
@@ -114,8 +114,6 @@ namespace OpenRA
|
||||
|
||||
PerfHistory.items["render"].Tick();
|
||||
PerfHistory.items["batches"].Tick();
|
||||
PerfHistory.items["text"].Tick();
|
||||
PerfHistory.items["cursor"].Tick();
|
||||
|
||||
MasterServerQuery.Tick();
|
||||
}
|
||||
@@ -235,8 +233,6 @@ namespace OpenRA
|
||||
Sound.Initialize();
|
||||
PerfHistory.items["render"].hasNormalTick = false;
|
||||
PerfHistory.items["batches"].hasNormalTick = false;
|
||||
PerfHistory.items["text"].hasNormalTick = false;
|
||||
PerfHistory.items["cursor"].hasNormalTick = false;
|
||||
|
||||
JoinLocal();
|
||||
|
||||
|
||||
@@ -18,9 +18,9 @@ namespace OpenRA.Support
|
||||
public static class PerfHistory
|
||||
{
|
||||
static readonly Color[] colors = { Color.Red, Color.Green,
|
||||
Color.Blue, Color.Yellow,
|
||||
Color.Orange, Color.Fuchsia,
|
||||
Color.Lime, Color.LightBlue,
|
||||
Color.Orange, Color.Yellow,
|
||||
Color.Fuchsia, Color.Lime,
|
||||
Color.LightBlue, Color.Blue,
|
||||
Color.White, Color.Teal };
|
||||
static int nextColor;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user