diff --git a/reactos/subsys/win32k/eng/bitblt.c b/reactos/subsys/win32k/eng/bitblt.c index 784209f4d35..76968a1e8ee 100644 --- a/reactos/subsys/win32k/eng/bitblt.c +++ b/reactos/subsys/win32k/eng/bitblt.c @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -/* $Id: bitblt.c,v 1.52 2004/04/25 11:34:13 weiden Exp $ +/* $Id: bitblt.c,v 1.53 2004/04/30 14:22:44 weiden Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -371,7 +371,6 @@ EngBitBlt(SURFOBJ *DestObj, OutputRect.top = DestRect->top + Translate.y; OutputRect.bottom = DestRect->bottom + Translate.y; - #if 0 if(BrushOrigin) { AdjustedBrushOrigin.x = BrushOrigin->x + Translate.x; @@ -379,9 +378,6 @@ EngBitBlt(SURFOBJ *DestObj, } else AdjustedBrushOrigin = Translate; - #else - AdjustedBrushOrigin = (BrushOrigin ? *BrushOrigin : Translate); - #endif if (NULL != OutputObj) { @@ -742,7 +738,7 @@ EngStretchBlt( OutputRect.right = prclDest->right + Translate.x; OutputRect.top = prclDest->top + Translate.y; OutputRect.bottom = prclDest->bottom + Translate.y; -#if 0 + if(BrushOrigin) { AdjustedBrushOrigin.x = BrushOrigin->x + Translate.x; @@ -750,9 +746,6 @@ EngStretchBlt( } else AdjustedBrushOrigin = Translate; -#else - AdjustedBrushOrigin = (BrushOrigin ? *BrushOrigin : Translate); -#endif if (NULL != OutputObj) { @@ -1140,8 +1133,7 @@ EngMaskBitBlt(SURFOBJ *DestObj, OutputRect.right = DestRect->right + Translate.x; OutputRect.top = DestRect->top + Translate.y; OutputRect.bottom = DestRect->bottom + Translate.y; - -#if 0 + if(BrushOrigin) { AdjustedBrushOrigin.x = BrushOrigin->x + Translate.x; @@ -1149,9 +1141,6 @@ EngMaskBitBlt(SURFOBJ *DestObj, } else AdjustedBrushOrigin = Translate; -#else - AdjustedBrushOrigin = (BrushOrigin ? *BrushOrigin : Translate); -#endif if (NULL != OutputObj) {