mirror of
https://github.com/microsoft/DirectXTex.git
synced 2025-07-09 11:40:14 +02:00
Trimmed trailing whitespace
This commit is contained in:
parent
04c758fbc2
commit
20e246af2b
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user