diff --git a/reactos/win32ss/gdi/eng/bitblt.c b/reactos/win32ss/gdi/eng/bitblt.c index bd4a599599b..a1c002a567e 100644 --- a/reactos/win32ss/gdi/eng/bitblt.c +++ b/reactos/win32ss/gdi/eng/bitblt.c @@ -67,8 +67,6 @@ BltMask(SURFOBJ* psoDest, ASSERT(IS_VALID_ROP4(Rop4)); ASSERT(psoMask->iBitmapFormat == BMF_1BPP); - if (!psoMask) return FALSE; - fgndRop = ROP4_FGND(Rop4); bkgndRop = ROP4_BKGND(Rop4); diff --git a/reactos/win32ss/gdi/eng/stretchblt.c b/reactos/win32ss/gdi/eng/stretchblt.c index ab3feef645b..a244c784284 100644 --- a/reactos/win32ss/gdi/eng/stretchblt.c +++ b/reactos/win32ss/gdi/eng/stretchblt.c @@ -386,7 +386,7 @@ IntEngStretchBlt(SURFOBJ *psoDest, ASSERT(psoDest); //ASSERT(psoSource); // FIXME! ASSERT(DestRect); - //ASSERT(SourceRect); // FIXME! + ASSERT(SourceRect); //ASSERT(!RECTL_bIsEmptyRect(SourceRect)); // FIXME! /* If no clip object is given, use trivial one */ @@ -427,7 +427,7 @@ IntEngStretchBlt(SURFOBJ *psoDest, InputClippedRect.bottom = DestRect->top; } - if (NULL == SourceRect || NULL == psoSource) + if (NULL == psoSource) { return FALSE; }