From 8352c9c08297b458a637c041a7bafaee8789fe11 Mon Sep 17 00:00:00 2001 From: Thomas Bluemel Date: Fri, 30 Apr 2004 14:22:44 +0000 Subject: [PATCH] fixed brush origin svn path=/trunk/; revision=9251 --- reactos/subsys/win32k/eng/bitblt.c | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) 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) {