1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-13 03:02:56 +08:00

VisualTests should run at full speed.

This commit is contained in:
Dean Herbert 2017-03-29 12:20:55 +09:00
parent 42f4d67de2
commit d9a4a8d0d4
No known key found for this signature in database
GPG Key ID: 46D71BF4958ABB49

View File

@ -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;
}
}