quartz: Fill right RECT structure in SetDefaultTargetRec.

This commit is contained in:
Christian Costa 2012-10-07 22:01:08 +02:00 committed by Alexandre Julliard
parent 7ea44c0007
commit 03086e87ff
1 changed files with 4 additions and 4 deletions

View File

@ -599,10 +599,10 @@ static HRESULT WINAPI VideoRenderer_SetDefaultTargetRect(BaseControlVideo* iface
if (!GetClientRect(This->baseControlWindow.baseWindow.hWnd, &rect))
return E_FAIL;
This->SourceRect.left = 0;
This->SourceRect.top = 0;
This->SourceRect.right = rect.right;
This->SourceRect.bottom = rect.bottom;
This->DestRect.left = 0;
This->DestRect.top = 0;
This->DestRect.right = rect.right;
This->DestRect.bottom = rect.bottom;
return S_OK;
}