Commit in reactos/subsys/win32k/eng on MAIN
bitblt.c+4-31.65 -> 1.66
EngMaskBitBlt() ASSERT instead of if(), this function should trust it's callers
IntEngMaskBlt() trust caller to send required parameters

reactos/subsys/win32k/eng
bitblt.c 1.65 -> 1.66
diff -u -r1.65 -r1.66
--- bitblt.c	18 Dec 2004 17:36:13 -0000	1.65
+++ bitblt.c	18 Dec 2004 17:52:30 -0000	1.66
@@ -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.65 2004/12/18 17:36:13 royce Exp $
+/* $Id: bitblt.c,v 1.66 2004/12/18 17:52:30 royce Exp $
  *
  * COPYRIGHT:        See COPYING in the top level directory
  * PROJECT:          ReactOS kernel
@@ -901,8 +901,7 @@
   ULONG              Direction;
   POINTL             AdjustedBrushOrigin;
 
-  if ( NULL == Mask )
-    return FALSE;
+  ASSERT ( Mask );
 
   if (NULL != SourcePoint)
     {
@@ -1095,6 +1094,8 @@
   RECTL OutputRect;
   POINTL InputPoint;
 
+  ASSERT(Mask);
+
   if (NULL != SourcePoint)
     {
       InputPoint = *SourcePoint;
CVSspam 0.2.8