mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 19:26:33 +00:00
[WIN32K:ENG]
- Remove useless NULL checks in BltMask and IntEngStretchBlt. CID 1322184, 701344 svn path=/trunk/; revision=69640
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user