mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
sorry did foregt ;
svn path=/trunk/; revision=15735
This commit is contained in:
parent
65c31ced72
commit
34b6e5c4e2
1 changed files with 4 additions and 3 deletions
|
@ -331,7 +331,7 @@ DIB_32BPP_BitBlt(PBLTINFO BltInfo)
|
||||||
SourceX = ((BltInfo->DestRect.bottom - BltInfo->DestRect.top) *
|
SourceX = ((BltInfo->DestRect.bottom - BltInfo->DestRect.top) *
|
||||||
BltInfo->DestRect.right) ;
|
BltInfo->DestRect.right) ;
|
||||||
|
|
||||||
if (SourceX<=0) return TRUE
|
if (SourceX<=0) return TRUE;
|
||||||
memset4( (PDWORD) (BltInfo->DestSurface->pvScan0 + BltInfo->DestRect.top *
|
memset4( (PDWORD) (BltInfo->DestSurface->pvScan0 + BltInfo->DestRect.top *
|
||||||
BltInfo->DestSurface->lDelta), 0x00000000, SourceX);
|
BltInfo->DestSurface->lDelta), 0x00000000, SourceX);
|
||||||
}
|
}
|
||||||
|
@ -348,10 +348,11 @@ DIB_32BPP_BitBlt(PBLTINFO BltInfo)
|
||||||
case ROP4_WHITENESS:
|
case ROP4_WHITENESS:
|
||||||
//return(0xFFFFFFFF);
|
//return(0xFFFFFFFF);
|
||||||
SourceX = ((BltInfo->DestRect.bottom - BltInfo->DestRect.top) * BltInfo->DestRect.right) ;
|
SourceX = ((BltInfo->DestRect.bottom - BltInfo->DestRect.top) * BltInfo->DestRect.right) ;
|
||||||
if (SourceX<=0) return TRUE
|
if (SourceX<=0) return TRUE;
|
||||||
|
|
||||||
#ifdef _M_IX86
|
#ifdef _M_IX86
|
||||||
|
|
||||||
if (BltInfo->DestRect.left!=0)
|
if ( BltInfo->DestRect.left!=0)
|
||||||
{
|
{
|
||||||
for (DestY=BltInfo->DestRect.bottom-1;DestY>=BltInfo->DestRect.top;DestY--)
|
for (DestY=BltInfo->DestRect.bottom-1;DestY>=BltInfo->DestRect.top;DestY--)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue