From 5a4e694df2c519ee6a81a2ce1428e65624a17dfd Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Thu, 17 Oct 2019 09:53:57 -0700 Subject: Minor coment --- Graphics/GraphicsEngineD3D12/src/EngineFactoryD3D12.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Graphics/GraphicsEngineD3D12') diff --git a/Graphics/GraphicsEngineD3D12/src/EngineFactoryD3D12.cpp b/Graphics/GraphicsEngineD3D12/src/EngineFactoryD3D12.cpp index fcb73975..9b8eb97a 100644 --- a/Graphics/GraphicsEngineD3D12/src/EngineFactoryD3D12.cpp +++ b/Graphics/GraphicsEngineD3D12/src/EngineFactoryD3D12.cpp @@ -153,7 +153,7 @@ void EngineFactoryD3D12Impl::CreateDeviceAndContextsD3D12(const EngineD3D12Creat HRESULT hr = CreateDXGIFactory1(__uuidof(factory), reinterpret_cast(static_cast(&factory)) ); CHECK_D3D_RESULT_THROW(hr, "Failed to create DXGI factory"); - // Direct3D12 does not support feature levels below 11.0 + // Direct3D12 does not allow feature levels below 11.0 (D3D12CreateDevice fails to create a device). const auto MinimumFeatureLevel = EngineCI.MinimumFeatureLevel >= DIRECT3D_FEATURE_LEVEL_11_0 ? EngineCI.MinimumFeatureLevel : DIRECT3D_FEATURE_LEVEL_11_0; CComPtr hardwareAdapter; -- cgit v1.2.3