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:
parent
ab95a392c5
commit
48a430b382
@ -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) )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user