Nikita Tsukanov пре 6 година
родитељ
комит
26f5a3fe7a
1 измењених фајлова са 3 додато и 1 уклоњено
  1. 3 1
      samples/interop/Direct3DInteropSample/Program.cs

+ 3 - 1
samples/interop/Direct3DInteropSample/Program.cs

@@ -11,7 +11,9 @@ namespace Direct3DInteropSample
     {
         static void Main(string[] args)
         {
-            AppBuilder.Configure<App>().UseWin32(deferredRendering: false).UseDirect2D1().Start<MainWindow>();
+            AppBuilder.Configure<App>()
+                .With(new Win32PlatformOptions {UseDeferredRendering = false})
+                .UseWin32().UseDirect2D1().Start<MainWindow>();
         }
     }
 }