mirror of
https://github.com/microsoft/DirectXTex.git
synced 2025-07-09 11:40:14 +02:00
DirectXTex: Workaround to avoid ICE when building VS 2013 preview Debug ARM config
This commit is contained in:
parent
23acc173f0
commit
0aa54a8045
@ -2334,7 +2334,8 @@ static HRESULT _Generate3DMipsTriangleFilter( _In_ size_t depth, _In_ size_t lev
|
||||
}
|
||||
else
|
||||
{
|
||||
sliceAcc->scanline.reset( reinterpret_cast<XMVECTOR*>( _aligned_malloc( sizeof(XMVECTOR) * nwidth * nheight, 16 ) ) );
|
||||
size_t bytes = sizeof(XMVECTOR) * nwidth * nheight;
|
||||
sliceAcc->scanline.reset( reinterpret_cast<XMVECTOR*>( _aligned_malloc( bytes, 16 ) ) );
|
||||
if ( !sliceAcc->scanline )
|
||||
return E_OUTOFMEMORY;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user