mirror of
https://github.com/reactos/reactos.git
synced 2024-08-05 19:11:16 +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:
parent
518b6188ec
commit
75d471db4b
|
@ -239,6 +239,12 @@ IntCreateCompatibleBitmap(
|
||||||
Planes ? Planes : 1,
|
Planes ? Planes : 1,
|
||||||
Bpp ? Bpp : Dc->ppdev->gdiinfo.cBitsPixel,
|
Bpp ? Bpp : Dc->ppdev->gdiinfo.cBitsPixel,
|
||||||
NULL);
|
NULL);
|
||||||
|
if (Bmp == NULL)
|
||||||
|
{
|
||||||
|
DPRINT1("Failed to allocate a bitmap!\n");
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
psurf = SURFACE_ShareLockSurface(Bmp);
|
psurf = SURFACE_ShareLockSurface(Bmp);
|
||||||
ASSERT(psurf);
|
ASSERT(psurf);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue