Robert Shearman : quartz:
Use the absolute height of the bitmap format as a negative values
simply means it is a top-down bitmap .
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Aug 28 12:35:29 CDT 2006
Module: wine
Branch: master
Commit: 7d6dbed3cf85822d372cccf4b445548487c6939e
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=7d6dbed3cf85822d372cccf4b445548487c6939e
Author: Robert Shearman <rob at 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;
}
More information about the wine-cvs
mailing list