VSync was still enabled

This commit is contained in:
ReinUsesLisp 2018-06-26 01:10:01 -03:00
parent 3671fa1991
commit aa334243ca

View file

@ -58,26 +58,26 @@ namespace Ryujinx
ProcessEvents();
if (!IsExiting)
{
while (Ticks < TicksPerFrame)
{
UpdateFrame();
Ticks += Chrono.ElapsedTicks;
Chrono.Restart();
}
if (Ticks > TicksPerFrame)
{
RenderFrame();
Ticks -= TicksPerFrame;
}
}
}
}
private new void Load()
{
//VSync = VSyncMode.On;
VSync = VSyncMode.Off;
Renderer.FrameBuffer.SetWindowSize(Width, Height);
}