mirror of
https://github.com/reactos/reactos.git
synced 2025-07-23 02:23:47 +00:00
BUGFIX: EngMaskBitBlt() shouldn't BSOD if Mask is NULL
svn path=/trunk/; revision=12186
This commit is contained in:
parent
43ccb648b2
commit
e35792c4ed
1 changed files with 4 additions and 1 deletions
|
@ -16,7 +16,7 @@
|
||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
*/
|
*/
|
||||||
/* $Id: bitblt.c,v 1.64 2004/12/14 03:36:46 royce Exp $
|
/* $Id: bitblt.c,v 1.65 2004/12/18 17:36:13 royce Exp $
|
||||||
*
|
*
|
||||||
* COPYRIGHT: See COPYING in the top level directory
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
|
@ -901,6 +901,9 @@ EngMaskBitBlt(SURFOBJ *DestObj,
|
||||||
ULONG Direction;
|
ULONG Direction;
|
||||||
POINTL AdjustedBrushOrigin;
|
POINTL AdjustedBrushOrigin;
|
||||||
|
|
||||||
|
if ( NULL == Mask )
|
||||||
|
return FALSE;
|
||||||
|
|
||||||
if (NULL != SourcePoint)
|
if (NULL != SourcePoint)
|
||||||
{
|
{
|
||||||
InputRect.left = SourcePoint->x;
|
InputRect.left = SourcePoint->x;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue