mirror of
https://github.com/microsoft/DirectXTex.git
synced 2025-07-16 15:00:14 +02:00
Updated D3DX12.H to latest version with a/analyze fix for VS 2019
This commit is contained in:
parent
4cf8c779cc
commit
cadc01f3af
@ -555,6 +555,7 @@ struct CD3DX12_CLEAR_VALUE : public D3D12_CLEAR_VALUE
|
|||||||
UINT8 stencil )
|
UINT8 stencil )
|
||||||
{
|
{
|
||||||
Format = format;
|
Format = format;
|
||||||
|
memset( &Color, 0, sizeof( Color ) );
|
||||||
/* Use memcpy to preserve NAN values */
|
/* Use memcpy to preserve NAN values */
|
||||||
memcpy( &DepthStencil.Depth, &depth, sizeof( depth ) );
|
memcpy( &DepthStencil.Depth, &depth, sizeof( depth ) );
|
||||||
DepthStencil.Stencil = stencil;
|
DepthStencil.Stencil = stencil;
|
||||||
@ -844,6 +845,7 @@ struct CD3DX12_TEXTURE_COPY_LOCATION : public D3D12_TEXTURE_COPY_LOCATION
|
|||||||
{
|
{
|
||||||
pResource = pRes;
|
pResource = pRes;
|
||||||
Type = D3D12_TEXTURE_COPY_TYPE_SUBRESOURCE_INDEX;
|
Type = D3D12_TEXTURE_COPY_TYPE_SUBRESOURCE_INDEX;
|
||||||
|
PlacedFootprint = {};
|
||||||
SubresourceIndex = Sub;
|
SubresourceIndex = Sub;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user