Trimmed trailing whitespace

This commit is contained in:
Chuck Walbourn 2021-12-07 13:42:36 -08:00
parent 04c758fbc2
commit 20e246af2b
13 changed files with 98 additions and 98 deletions

View File

@ -524,7 +524,7 @@ HRESULT DirectX::PrepareUpload(
}
size_t numberOfResources = (metadata.dimension == TEX_DIMENSION_TEXTURE3D)
? 1 : metadata.arraySize;
? 1u : metadata.arraySize;
numberOfResources *= metadata.mipLevels;
numberOfResources *= numberOfPlanes;
@ -760,7 +760,7 @@ HRESULT DirectX::CaptureTexture(
}
UINT arraySize = (desc.Dimension == D3D12_RESOURCE_DIMENSION_TEXTURE3D)
? 1
? 1u
: desc.DepthOrArraySize;
for (UINT plane = 0; plane < numberOfPlanes; ++plane)