1
0
mirror of https://github.com/microsoft/DirectXTex synced 2024-11-21 12:00:06 +00:00

Fixed -Wshadow-field warning in d3dx12.h

This commit is contained in:
Chuck Walbourn 2022-09-17 19:04:30 -07:00
parent e51730e6fc
commit 9668a8d6b6

View File

@ -4113,20 +4113,20 @@ public:
D3D12_BARRIER_SUBRESOURCE_RANGE{ Subresource, 0, 0, 0, 0, 0 }
{}
CD3DX12_BARRIER_SUBRESOURCE_RANGE(
UINT FirstMipLevel,
UINT NumMips,
UINT FirstArraySlice,
UINT NumArraySlices,
UINT FirstPlane = 0,
UINT NumPlanes = 1) noexcept :
UINT firstMipLevel,
UINT numMips,
UINT firstArraySlice,
UINT numArraySlices,
UINT firstPlane = 0,
UINT numPlanes = 1) noexcept :
D3D12_BARRIER_SUBRESOURCE_RANGE
{
FirstMipLevel,
NumMips,
FirstArraySlice,
NumArraySlices,
FirstPlane,
NumPlanes
firstMipLevel,
numMips,
firstArraySlice,
numArraySlices,
firstPlane,
numPlanes
}
{}
};