Commit 03086e87 authored by Christian Costa's avatar Christian Costa Committed by Alexandre Julliard

quartz: Fill right RECT structure in SetDefaultTargetRec.

parent 7ea44c00
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment