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:
Robert Shearman 2006-08-28 14:18:07 +01:00 committed by Alexandre Julliard
parent 679dfb029d
commit 7d6dbed3cf
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}