mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 09:50:02 +00:00
IntEngBitBlt() ASSERT() some assumptions
svn path=/trunk/; revision=12106
This commit is contained in:
parent
0dfc0d93bd
commit
adf92baa5e
1 changed files with 6 additions and 2 deletions
|
@ -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.62 2004/12/14 03:23:14 royce Exp $
|
||||
/* $Id: bitblt.c,v 1.63 2004/12/14 03:28:34 royce Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
|
@ -496,10 +496,14 @@ IntEngBitBlt(BITMAPOBJ *DestObj,
|
|||
RECTL OutputRect;
|
||||
POINTL InputPoint;
|
||||
BOOLEAN UsesSource;
|
||||
SURFOBJ *DestSurf = &DestObj->SurfObj;
|
||||
SURFOBJ *DestSurf;
|
||||
SURFOBJ *SourceSurf = SourceObj ? &SourceObj->SurfObj : NULL;
|
||||
SURFOBJ *MaskSurf = MaskObj ? &MaskObj->SurfObj : NULL;
|
||||
|
||||
ASSERT(DestObj);
|
||||
DestSurf = &DestObj->SurfObj;
|
||||
ASSERT(DestSurf);
|
||||
|
||||
InputClippedRect = *DestRect;
|
||||
if (InputClippedRect.right < InputClippedRect.left)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue