Nvdrv: Do framelimiting only in the CPU Thread

This commit is contained in:
Fernando Sahmkow 2019-09-26 10:12:05 -04:00 committed by FernandoS27
parent 976d9ef43c
commit ffc2ce89a0
2 changed files with 4 additions and 3 deletions

View file

@ -135,9 +135,6 @@ void RendererOpenGL::SwapBuffers(const Tegra::FramebufferConfig* framebuffer) {
render_window.PollEvents();
system.FrameLimiter().DoFrameLimiting(system.CoreTiming().GetGlobalTimeUs());
system.GetPerfStats().BeginSystemFrame();
// Restore the rasterizer state
prev_state.AllDirty();
prev_state.Apply();