Commit 7d6dbed3 authored by Robert Shearman's avatar Robert Shearman Committed by Alexandre Julliard

quartz: Use the absolute height of the bitmap format as a negative values simply…

quartz: Use the absolute height of the bitmap format as a negative values simply means it is a top-down bitmap.
parent 679dfb02
...@@ -318,7 +318,7 @@ static DWORD VideoRenderer_SendSampleData(VideoRendererImpl* This, LPBYTE data, ...@@ -318,7 +318,7 @@ static DWORD VideoRenderer_SendSampleData(VideoRendererImpl* This, LPBYTE data,
This->WindowPos.left = 0; This->WindowPos.left = 0;
This->WindowPos.top = 0; This->WindowPos.top = 0;
This->WindowPos.right = width; This->WindowPos.right = width;
This->WindowPos.bottom = height; This->WindowPos.bottom = abs(height);
GetClientRect(This->hWnd, &This->DestRect); GetClientRect(This->hWnd, &This->DestRect);
This->init = TRUE; This->init = TRUE;
} }
......
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