Browse Source

Fixed compilation

pull/2368/head
Nikita Tsukanov 8 years ago
parent
commit
26f5a3fe7a
  1. 4
      samples/interop/Direct3DInteropSample/Program.cs

4
samples/interop/Direct3DInteropSample/Program.cs

@ -11,7 +11,9 @@ namespace Direct3DInteropSample
{ {
static void Main(string[] args) 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>();
} }
} }
} }

Loading…
Cancel
Save