quartz: Use the absolute height of the bitmap format as a negative values simply means it is a top-down bitmap.
This commit is contained in:
parent
679dfb029d
commit
7d6dbed3cf
|
@ -318,7 +318,7 @@ static DWORD VideoRenderer_SendSampleData(VideoRendererImpl* This, LPBYTE data,
|
|||
This->WindowPos.left = 0;
|
||||
This->WindowPos.top = 0;
|
||||
This->WindowPos.right = width;
|
||||
This->WindowPos.bottom = height;
|
||||
This->WindowPos.bottom = abs(height);
|
||||
GetClientRect(This->hWnd, &This->DestRect);
|
||||
This->init = TRUE;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue