Robert Shearman : quartz: Use the absolute height of the bitmap format as a negative values simply means it is a top-down bitmap .
Module: wine Branch: master Commit: 7d6dbed3cf85822d372cccf4b445548487c6939e URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=7d6dbed3cf85822d372cccf4... Author: Robert Shearman <rob(a)codeweavers.com> Date: Mon Aug 28 14:18:07 2006 +0100 quartz: Use the absolute height of the bitmap format as a negative values simply means it is a top-down bitmap. --- dlls/quartz/videorenderer.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/quartz/videorenderer.c b/dlls/quartz/videorenderer.c index 02fcc7a..eaaada6 100644 --- a/dlls/quartz/videorenderer.c +++ b/dlls/quartz/videorenderer.c @@ -318,7 +318,7 @@ static DWORD VideoRenderer_SendSampleDat 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; }
participants (1)
-
Alexandre Julliard