Unverified Commit ae46255c authored by Pavel's avatar Pavel Committed by GitHub

limit supported D3D_FEATURE_LEVEL only to D3D12 (#603)

parent 044ea3bb
......@@ -261,12 +261,11 @@ extern "C"
}
gr_cp<IDXGIAdapter1> adapter((IDXGIAdapter1 *) adapterPtr);
D3D_FEATURE_LEVEL maxSupportedFeatureLevel = D3D_FEATURE_LEVEL_11_0;
D3D_FEATURE_LEVEL maxSupportedFeatureLevel = D3D_FEATURE_LEVEL_12_0;
D3D_FEATURE_LEVEL featureLevels[] = {
// TODO add D3D_FEATURE_LEVEL_12_2
D3D_FEATURE_LEVEL_12_1,
D3D_FEATURE_LEVEL_12_0,
D3D_FEATURE_LEVEL_11_1,
D3D_FEATURE_LEVEL_11_0
D3D_FEATURE_LEVEL_12_0
};
for (int i = 0; i < _countof(featureLevels); i++) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment