aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Gpu/Window.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Ryujinx.Graphics.Gpu/Window.cs')
-rw-r--r--Ryujinx.Graphics.Gpu/Window.cs4
1 files changed, 1 insertions, 3 deletions
diff --git a/Ryujinx.Graphics.Gpu/Window.cs b/Ryujinx.Graphics.Gpu/Window.cs
index 541a80cc..1432ef3b 100644
--- a/Ryujinx.Graphics.Gpu/Window.cs
+++ b/Ryujinx.Graphics.Gpu/Window.cs
@@ -201,9 +201,7 @@ namespace Ryujinx.Graphics.Gpu
texture.SynchronizeMemory();
- _context.Renderer.Window.Present(texture.HostTexture, pt.Crop);
-
- swapBuffersCallback();
+ _context.Renderer.Window.Present(texture.HostTexture, pt.Crop, swapBuffersCallback);
pt.ReleaseCallback(pt.UserObj);
}