mirror of
https://github.com/reactos/reactos.git
synced 2025-05-28 13:38:19 +00:00
[WIN32K]
Fix calculation of the source point in EngCopyBits for complex clipping regions. One might assume that this function is so essential, that it would do at least the most basic stuff correctly, but ... svn path=/trunk/; revision=65918
This commit is contained in:
parent
3de56b3af4
commit
b193a23ecc
1 changed files with 2 additions and 2 deletions
|
@ -146,8 +146,8 @@ EngCopyBits(
|
|||
{
|
||||
RECTL_bIntersectRect(&BltInfo.DestRect, prcl, DestRect);
|
||||
|
||||
BltInfo.SourcePoint.x = SourcePoint->x + prcl->left - DestRect->left;
|
||||
BltInfo.SourcePoint.y = SourcePoint->y + prcl->top - DestRect->top;
|
||||
BltInfo.SourcePoint.x = SourcePoint->x + BltInfo.DestRect.left - DestRect->left;
|
||||
BltInfo.SourcePoint.y = SourcePoint->y + BltInfo.DestRect.top - DestRect->top;
|
||||
|
||||
if (!DibFunctionsForBitmapFormat[psoDest->iBitmapFormat].DIB_BitBltSrcCopy(&BltInfo))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue