mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 20:32:55 +08:00
Merge pull request #1285 from peppy/dont-unlimit-visualtests-fps
Don't unlimit FPS for visual tests
This commit is contained in:
commit
407d02ba87
@ -24,11 +24,6 @@ namespace osu.Desktop
|
|||||||
public override void SetHost(GameHost host)
|
public override void SetHost(GameHost host)
|
||||||
{
|
{
|
||||||
base.SetHost(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;
|
host.Window.CursorState |= CursorState.Hidden;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user