Improved and simplified window texture presentation

This commit is contained in:
gdk 2019-11-23 23:24:03 -03:00 committed by Thog
parent e8e4133745
commit 8c26739c58
11 changed files with 137 additions and 497 deletions

View file

@ -294,7 +294,7 @@ namespace Ryujinx.Ui
private new void RenderFrame()
{
_renderer.Window.Present();
_device.PresentFrame(SwapBuffers);
_device.Statistics.RecordSystemFrameTime();
@ -312,8 +312,6 @@ namespace Ryujinx.Ui
_titleEvent = true;
SwapBuffers();
_device.System.SignalVsync();
_device.VsyncEvent.Set();