diff --git a/ScreenGrab/ScreenGrab.cpp b/ScreenGrab/ScreenGrab.cpp index e913c9e..69e8e01 100644 --- a/ScreenGrab/ScreenGrab.cpp +++ b/ScreenGrab/ScreenGrab.cpp @@ -1125,7 +1125,7 @@ HRESULT DirectX::SaveWICTextureToFile( _In_ ID3D11DeviceContext* pContext, return hr; } - WICRect rect = { 0, 0, static_cast(desc.Width), static_cast(desc.Height) }; + WICRect rect = { 0, 0, static_cast( desc.Width ), static_cast( desc.Height ) }; hr = frame->WriteSource( FC.Get(), &rect ); if ( FAILED(hr) ) {