From 9668a8d6b6ef935d03679516eabc532732210aae Mon Sep 17 00:00:00 2001 From: Chuck Walbourn Date: Sat, 17 Sep 2022 19:04:30 -0700 Subject: [PATCH] Fixed -Wshadow-field warning in d3dx12.h --- DirectXTex/d3dx12.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/DirectXTex/d3dx12.h b/DirectXTex/d3dx12.h index eed5784..e873d96 100644 --- a/DirectXTex/d3dx12.h +++ b/DirectXTex/d3dx12.h @@ -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 } {} };