1
0
mirror of https://github.com/microsoft/DirectXTex synced 2024-12-25 10:51:05 +00:00

Fixed warnings found by Dev14 CTP

This commit is contained in:
walbourn_cp 2014-10-01 12:08:13 -07:00
parent ab95a392c5
commit 48a430b382

View File

@ -1125,7 +1125,7 @@ HRESULT DirectX::SaveWICTextureToFile( _In_ ID3D11DeviceContext* pContext,
return hr;
}
WICRect rect = { 0, 0, static_cast<INT>(desc.Width), static_cast<INT>(desc.Height) };
WICRect rect = { 0, 0, static_cast<INT>( desc.Width ), static_cast<INT>( desc.Height ) };
hr = frame->WriteSource( FC.Get(), &rect );
if ( FAILED(hr) )
{