[GPU] Set frame buffer texture size to window size

This commit is contained in:
gdkchan 2018-04-14 01:31:27 -03:00
parent 7dd14a4f3a
commit 494e6dfa1e
2 changed files with 16 additions and 4 deletions

View file

@ -38,6 +38,8 @@ namespace Ryujinx
protected override void OnLoad(EventArgs e)
{
VSync = VSyncMode.On;
Renderer.SetWindowSize(Width, Height);
}
protected override void OnUpdateFrame(FrameEventArgs e)
@ -173,8 +175,6 @@ namespace Ryujinx
{
Ns.Statistics.StartSystemFrame();
GL.Viewport(0, 0, Width, Height);
Title = $"Ryujinx Screen - (Vsync: {VSync} - FPS: {Ns.Statistics.SystemFrameRate:0} - Guest FPS: " +
$"{Ns.Statistics.GameFrameRate:0})";