summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineD3D12
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2019-10-17 16:53:57 +0000
committerEgor Yusov <egor.yusov@gmail.com>2019-10-17 16:53:57 +0000
commit5a4e694df2c519ee6a81a2ce1428e65624a17dfd (patch)
tree0e42d5d4b4b13cec35ef891b731363b0e41c2e14 /Graphics/GraphicsEngineD3D12
parentUpdated d3d backend initialization + d3d shader model selection (diff)
downloadDiligentCore-5a4e694df2c519ee6a81a2ce1428e65624a17dfd.tar.gz
DiligentCore-5a4e694df2c519ee6a81a2ce1428e65624a17dfd.zip
Minor coment
Diffstat (limited to 'Graphics/GraphicsEngineD3D12')
-rw-r--r--Graphics/GraphicsEngineD3D12/src/EngineFactoryD3D12.cpp2
1 files changed, 1 insertions, 1 deletions
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<void**>(static_cast<IDXGIFactory4**>(&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<IDXGIAdapter1> hardwareAdapter;