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:
parent
42f4d67de2
commit
d9a4a8d0d4
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user