diff --git a/Source/SharpDX.Direct3D11/Device.cs b/Source/SharpDX.Direct3D11/Device.cs index f5794f3c5..01ffc7df7 100644 --- a/Source/SharpDX.Direct3D11/Device.cs +++ b/Source/SharpDX.Direct3D11/Device.cs @@ -195,8 +195,6 @@ private static void CreateWithSwapChain(Adapter adapter, DriverType driverType, if (context != null) { - // Add a reference when setting the device on the context - ((IUnknown)device).AddReference(); context.Device__ = device; } @@ -692,4 +690,4 @@ public static Device CreateFromDirect3D12(ComObject d3D12Device, Direct3D11.Devi return devOut; } } -} \ No newline at end of file +}