mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
[WIN32k]
Stop ASSERTing, that we always have all the resources we need in IntCreateCompatibleBitmap svn path=/trunk/; revision=64997
This commit is contained in:
@@ -239,6 +239,12 @@ IntCreateCompatibleBitmap(
|
||||
Planes ? Planes : 1,
|
||||
Bpp ? Bpp : Dc->ppdev->gdiinfo.cBitsPixel,
|
||||
NULL);
|
||||
if (Bmp == NULL)
|
||||
{
|
||||
DPRINT1("Failed to allocate a bitmap!\n");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
psurf = SURFACE_ShareLockSurface(Bmp);
|
||||
ASSERT(psurf);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user