from filip

This is small part of filip dymatic change resolution  patch
1. fix a bsod in IntEngBitBltEx if the destsurface is NULL do not bsod or aseert, send back false.

svn path=/trunk/; revision=25198
This commit is contained in:
Magnus Olsen 2006-12-21 02:43:31 +00:00
parent c2feea400f
commit af996c694b
2 changed files with 8 additions and 5 deletions

View file

@ -551,6 +551,9 @@ IntEngBitBltEx(SURFOBJ *DestSurf,
BITMAPOBJ *DestObj;
BITMAPOBJ *SourceObj = NULL;
if (DestSurf == NULL)
return FALSE;
ASSERT(DestSurf);
DestObj = CONTAINING_RECORD(DestSurf, BITMAPOBJ, SurfObj);
ASSERT(DestObj);

View file

@ -13,11 +13,11 @@
#define _NO_COM
/* DDK/NDK/SDK Headers */
#include <ntifs.h>
#include <ntddk.h>
#include <ntddmou.h>
#include <ntndk.h>
//#include <rtltypes.h>
#include <ddk/ntddk.h>
#include <ddk/ntddmou.h>
#include <ddk/ntifs.h>
#include <ddk/tvout.h>
#include <ndk/ntndk.h>
/* Win32 Headers */
/* FIXME: Defines in winbase.h that we need... */