Browse Source

Make D3D interop sample work.

By turning off deferred rendering.
Steven Kirk 8 years ago
parent
commit
ddbc100ff6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      samples/interop/Direct3DInteropSample/Program.cs

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

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