mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 16:31:50 +00:00
Fix the xlate bug in 24dib correct fix more buttom showing right in firefox now
svn path=/trunk/; revision=21645
This commit is contained in:
parent
f0c7bff035
commit
f29eac23ec
1 changed files with 15 additions and 1 deletions
|
@ -286,7 +286,21 @@ DIB_24BPP_BitBltSrcCopy(PBLTINFO BltInfo)
|
|||
{
|
||||
/* FIXME */
|
||||
//DPRINT1("DIB_24BPP_Bitblt: Unhandled BltInfo->XlateSourceToDest for 16 -> 16 copy\n");
|
||||
return DIB_16BPP_BitBltSrcCopy(BltInfo);
|
||||
// return DIB_16BPP_BitBltSrcCopy(BltInfo);
|
||||
sx = BltInfo->SourcePoint.x;
|
||||
sy = BltInfo->SourcePoint.y;
|
||||
|
||||
for (j=BltInfo->DestRect.top; j<BltInfo->DestRect.bottom; j++)
|
||||
{
|
||||
sx = BltInfo->SourcePoint.x;
|
||||
for (i=BltInfo->DestRect.left; i<BltInfo->DestRect.right; i++)
|
||||
{
|
||||
DWORD pixel = DIB_24BPP_GetPixel(BltInfo->SourceSurface, sx, sy);
|
||||
DIB_24BPP_PutPixel(BltInfo->DestSurface, i, j, XLATEOBJ_iXlate(BltInfo->XlateSourceToDest, pixel));
|
||||
sx++;
|
||||
}
|
||||
sy++;
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue