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