From 4e2b376ccf1eb0bf865e1dee94a5f163b54b528b Mon Sep 17 00:00:00 2001 From: Filip Navara Date: Sat, 27 Sep 2003 09:27:45 +0000 Subject: [PATCH] Bugfix: Reverted order of mask1Bpp, this change fixes 1bpp blits. svn path=/trunk/; revision=6159 --- reactos/subsys/win32k/dib/dib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/subsys/win32k/dib/dib.c b/reactos/subsys/win32k/dib/dib.c index 43656baeecc..269c4bb12d8 100644 --- a/reactos/subsys/win32k/dib/dib.c +++ b/reactos/subsys/win32k/dib/dib.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: dib.c,v 1.3 2003/08/12 21:55:47 gvg Exp $ */ +/* $Id: dib.c,v 1.4 2003/09/27 09:27:45 navaraf Exp $ */ #include #include @@ -29,7 +29,7 @@ unsigned char notmask[2] = { 0x0f, 0xf0 }; unsigned char altnotmask[2] = { 0xf0, 0x0f }; -unsigned char mask1Bpp[8] = { 0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80 }; +unsigned char mask1Bpp[8] = { 0x80, 0x40, 0x20, 0x10, 0x08, 0x04, 0x02, 0x01 }; ULONG DIB_GetSource(SURFOBJ* SourceSurf, SURFGDI* SourceGDI, ULONG sx, ULONG sy, XLATEOBJ* ColorTranslation)