mirror of
https://github.com/reactos/reactos.git
synced 2024-06-28 17:01:28 +00:00
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:
parent
c2feea400f
commit
af996c694b
|
@ -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);
|
||||
|
|
|
@ -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... */
|
||||
|
|
Loading…
Reference in a new issue