Skip to content

Commit

Permalink
Change to array creation
Browse files Browse the repository at this point in the history
  • Loading branch information
Dev-Taehui committed Oct 16, 2023
1 parent 72ab153 commit 3f81e1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion winrt/lib/drawing/CanvasDevice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ namespace ABI { namespace Microsoft { namespace Graphics { namespace Canvas
deviceFlags |= D3D11_CREATE_DEVICE_DEBUG;
}

auto featureLevels = { D3D_FEATURE_LEVEL_11_1, D3D_FEATURE_LEVEL_11_0, D3D_FEATURE_LEVEL_10_1, D3D_FEATURE_LEVEL_10_0, D3D_FEATURE_LEVEL_9_3, D3D_FEATURE_LEVEL_9_2, D3D_FEATURE_LEVEL_9_1 };
D3D_FEATURE_LEVEL featureLevels[7] { D3D_FEATURE_LEVEL_11_1, D3D_FEATURE_LEVEL_11_0, D3D_FEATURE_LEVEL_10_1, D3D_FEATURE_LEVEL_10_0, D3D_FEATURE_LEVEL_9_3, D3D_FEATURE_LEVEL_9_2, D3D_FEATURE_LEVEL_9_1 };
ComPtr<ID3D11Device> createdDevice;
if (SUCCEEDED(D3D11CreateDevice(
NULL, // adapter
Expand Down

0 comments on commit 3f81e1d

Please sign in to comment.