mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 08:55:19 +00:00
[WIN32K] -Fix a bug with TransparentBlt when it should really ignore the alpha channel. CORE-13040. Approved by Timo.
svn path=/trunk/; revision=75601
This commit is contained in:
parent
c312beab6a
commit
695d9ff51e
1 changed files with 1 additions and 1 deletions
|
@ -312,7 +312,7 @@ DIB_32BPP_TransparentBlt(SURFOBJ *DestSurf, SURFOBJ *SourceSurf,
|
|||
SourceSurf->sizlBitmap.cx > SourceX && SourceSurf->sizlBitmap.cy > SourceY)
|
||||
{
|
||||
Source = DIB_GetSourceIndex(SourceSurf, SourceX, SourceY);
|
||||
if (Source != iTransColor)
|
||||
if ((0x00FFFFFF & Source) != (0x00FFFFFF & iTransColor))
|
||||
{
|
||||
*DestBits = XLATEOBJ_iXlate(ColorTranslation, Source);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue