Author: tkreuzer
Date: Thu Jul 9 01:35:33 2009
New Revision: 41819
URL:
http://svn.reactos.org/svn/reactos?rev=41819&view=rev
Log:
BltMask: remove unnecessary check
Modified:
trunk/reactos/subsystems/win32/win32k/eng/bitblt.c
Modified: trunk/reactos/subsystems/win32/win32k/eng/bitblt.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/en…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/eng/bitblt.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/eng/bitblt.c [iso-8859-1] Thu Jul 9 01:35:33
2009
@@ -78,7 +78,7 @@
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 @@
if (*pjMskCurrent & fjMaskBit)
{
fnDest_PutPixel(psoDest, x, y,
- XLATEOBJ_iXlate(XlateObj,
+ XLATEOBJ_iXlate(XlateObj,
fnPattern_GetPixel(psoPattern, PatternX, PatternY)));
}
fjMaskBit = _rotr8(fjMaskBit, 1);