Window out of focus should no longer lag

This commit is contained in:
Alessandro Proto 2023-02-12 20:54:20 +01:00
parent 1ca007b8d5
commit 34cf7a6bc4

View file

@ -132,6 +132,8 @@ public class Capy64 : Game, IGame
Window.AllowUserResizing = true; Window.AllowUserResizing = true;
Window.ClientSizeChanged += OnWindowSizeChange; Window.ClientSizeChanged += OnWindowSizeChange;
InactiveSleepTime = new TimeSpan(0);
Audio = new Audio(); Audio = new Audio();
NativePlugins = GetNativePlugins(); NativePlugins = GetNativePlugins();