From fc49f1588b0a65352d8a1be8aa1576b89d33c2b4 Mon Sep 17 00:00:00 2001 From: Steven Kirk Date: Tue, 16 Dec 2014 03:12:21 +0100 Subject: [PATCH] Make animations more smooth. By setting the PresentOptions.Immediately flag. --- Windows/Perspex.Direct2D1/Renderer.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Windows/Perspex.Direct2D1/Renderer.cs b/Windows/Perspex.Direct2D1/Renderer.cs index efc44421a8..1ed89137be 100644 --- a/Windows/Perspex.Direct2D1/Renderer.cs +++ b/Windows/Perspex.Direct2D1/Renderer.cs @@ -44,6 +44,7 @@ namespace Perspex.Direct2D1 { Hwnd = hwnd, PixelSize = new Size2((int)width, (int)height), + PresentOptions = PresentOptions.Immediately, }; this.renderTarget = new WindowRenderTarget(