mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 09:50:02 +00:00
BltMask: remove unnecessary check
svn path=/trunk/; revision=41819
This commit is contained in:
parent
9a36897e48
commit
903a26ae64
1 changed files with 2 additions and 2 deletions
|
@ -78,7 +78,7 @@ BltMask(SURFOBJ* psoDest,
|
|||
fnDest_PutPixel = DibFunctionsForBitmapFormat[psoDest->iBitmapFormat].DIB_PutPixel;
|
||||
if (psurfPattern)
|
||||
{
|
||||
XlateObj = pebo ? pebo->XlateObject : NULL;
|
||||
XlateObj = pebo->XlateObject;
|
||||
PatternY = (prclDest->top - pptlBrush->y) % PatternHeight;
|
||||
if (PatternY < 0)
|
||||
{
|
||||
|
@ -101,7 +101,7 @@ BltMask(SURFOBJ* psoDest,
|
|||
if (*pjMskCurrent & fjMaskBit)
|
||||
{
|
||||
fnDest_PutPixel(psoDest, x, y,
|
||||
XLATEOBJ_iXlate(XlateObj,
|
||||
XLATEOBJ_iXlate(XlateObj,
|
||||
fnPattern_GetPixel(psoPattern, PatternX, PatternY)));
|
||||
}
|
||||
fjMaskBit = _rotr8(fjMaskBit, 1);
|
||||
|
|
Loading…
Reference in a new issue