Author: tkreuzer
Date: Tue Mar 1 09:17:58 2011
New Revision: 50942
URL:
http://svn.reactos.org/svn/reactos?rev=50942&view=rev
Log:
[WIN32K]
Do raster operation on 4 bytes instead of only 3. Fixes ...
maybe noone has noticed yet ;-)
Modified:
trunk/reactos/subsystems/win32/win32k/dib/dib.c
Modified: trunk/reactos/subsystems/win32/win32k/dib/dib.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/di…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/dib/dib.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/dib/dib.c [iso-8859-1] Tue Mar 1 09:17:58 2011
@@ -179,7 +179,7 @@
Rop |= (Rop << 24) | (Rop << 16) | (Rop << 8);
/* Do the operation on four bits simultaneously. */
Result = 0;
- for (i = 0; i < 6; i++)
+ for (i = 0; i < 8; i++)
{
ResultNibble = Rop & ExpandDest[Dest & 0xF] & ExpandSource[Source &
0xF] & ExpandPattern[Pattern & 0xF];
Result |= (((ResultNibble & 0xFF000000) ? 0x8 : 0x0) | ((ResultNibble &
0x00FF0000) ? 0x4 : 0x0) |