From 666f7e67ded2e6c65346c649c66ed5972eb1f06a Mon Sep 17 00:00:00 2001 From: Sergio Pedri Date: Tue, 13 Aug 2019 13:21:03 +0200 Subject: [PATCH] Fixed a crash when loading a specific GPU device --- src/ComputeSharp.Graphics/GraphicsDevice.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/ComputeSharp.Graphics/GraphicsDevice.cs b/src/ComputeSharp.Graphics/GraphicsDevice.cs index edb771bd..0a6adde2 100644 --- a/src/ComputeSharp.Graphics/GraphicsDevice.cs +++ b/src/ComputeSharp.Graphics/GraphicsDevice.cs @@ -18,9 +18,6 @@ namespace ComputeSharp.Graphics /// The available info for the new instance public GraphicsDevice(Device device, AdapterDescription description) { -#if DEBUG - DebugInterface.Get().EnableDebugLayer(); -#endif NativeDevice = device; Description = description; WavefrontSize = NativeDevice.D3D12Options1.WaveLaneCountMin;