mirror of
https://github.com/microsoft/DirectXTex.git
synced 2025-07-13 21:50:13 +02:00
Fix /analyze warning
This commit is contained in:
parent
3b13358138
commit
296120a763
@ -782,7 +782,7 @@ HRESULT DirectX::CaptureTexture(
|
||||
{
|
||||
pData + pLayout[dindex].Offset,
|
||||
static_cast<LONG_PTR>(pLayout[dindex].Footprint.RowPitch),
|
||||
static_cast<LONG_PTR>(pLayout[dindex].Footprint.RowPitch * pNumRows[dindex])
|
||||
static_cast<LONG_PTR>(pLayout[dindex].Footprint.RowPitch) * static_cast<LONG_PTR>(pNumRows[dindex])
|
||||
};
|
||||
|
||||
if (pRowSizesInBytes[dindex] > SIZE_T(-1))
|
||||
|
Loading…
x
Reference in New Issue
Block a user