From d9a4a8d0d4b553747ae8da985cf1b816a3e6667b Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Wed, 29 Mar 2017 12:20:55 +0900 Subject: [PATCH] VisualTests should run at full speed. --- osu.Desktop.VisualTests/VisualTestGame.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/osu.Desktop.VisualTests/VisualTestGame.cs b/osu.Desktop.VisualTests/VisualTestGame.cs index bdce72b3f5..0392dc5443 100644 --- a/osu.Desktop.VisualTests/VisualTestGame.cs +++ b/osu.Desktop.VisualTests/VisualTestGame.cs @@ -24,6 +24,11 @@ namespace osu.Desktop.VisualTests public override void SetHost(GameHost host) { base.SetHost(host); + + host.UpdateThread.InactiveHz = host.UpdateThread.ActiveHz; + host.DrawThread.InactiveHz = host.DrawThread.ActiveHz; + host.InputThread.InactiveHz = host.InputThread.ActiveHz; + host.Window.CursorState = CursorState.Hidden; } }