Fixed bug when loading devices in Debug mode

このコミットが含まれているのは:
Sergio Pedri committed 2020-11-30 16:41:49 +01:00
1 親 2517996577
コミット 4c4c4ecda7
1ファイル変更
+2
+2
ファイルの表示
@@ -97,6 +97,8 @@ namespace ComputeSharp.Graphics.Helpers
fixed (IDXGIFactory4** dxgiFactory4 = this.dxgiFactory4)
{
EnableDebugMode();
FX.CreateDXGIFactory2(IDXGIFactoryCreationFlags, FX.__uuidof<IDXGIFactory4>(), (void**)dxgiFactory4).Assert();
}
}