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