mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 01:39:30 +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:
parent
27cd9042b5
commit
bf191a5cd2
2 changed files with 2 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue