VSync was still enabled
This commit is contained in:
parent
3671fa1991
commit
aa334243ca
1 changed files with 10 additions and 10 deletions
|
@ -59,25 +59,25 @@ namespace Ryujinx
|
|||
|
||||
if (!IsExiting)
|
||||
{
|
||||
UpdateFrame();
|
||||
|
||||
Ticks += Chrono.ElapsedTicks;
|
||||
|
||||
Chrono.Restart();
|
||||
|
||||
if (Ticks > TicksPerFrame)
|
||||
while (Ticks < TicksPerFrame)
|
||||
{
|
||||
RenderFrame();
|
||||
UpdateFrame();
|
||||
|
||||
Ticks -= TicksPerFrame;
|
||||
Ticks += Chrono.ElapsedTicks;
|
||||
|
||||
Chrono.Restart();
|
||||
}
|
||||
|
||||
RenderFrame();
|
||||
|
||||
Ticks -= TicksPerFrame;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private new void Load()
|
||||
{
|
||||
//VSync = VSyncMode.On;
|
||||
VSync = VSyncMode.Off;
|
||||
|
||||
Renderer.FrameBuffer.SetWindowSize(Width, Height);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue