[WIN32K, GENDIB]
[reactos.git] / subsystems / win32 / win32k / dib / dib.c
index 30591d3..5036043 100644 (file)
@@ -151,6 +151,9 @@ static const ULONG ExpandDest[16] =
       0xF0F0F0F0 /* 1111 */,
     };
 
       0xF0F0F0F0 /* 1111 */,
     };
 
+  /* Ignore alpha channel in Pattern */
+  Pattern &= 0x00ffffff ;
+
   /* Optimized code for the various named rop codes. */
   switch (Rop)
     {
   /* Optimized code for the various named rop codes. */
   switch (Rop)
     {