Author: gadamopoulos
Date: Thu Aug 17 22:45:51 2017
New Revision: 75601
URL:
http://svn.reactos.org/svn/reactos?rev=75601&view=rev
Log:
[WIN32K] -Fix a bug with TransparentBlt when it should really ignore the alpha channel.
CORE-13040. Approved by Timo.
Modified:
trunk/reactos/win32ss/gdi/dib/dib32bpp.c
Modified: trunk/reactos/win32ss/gdi/dib/dib32bpp.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/gdi/dib/dib32bpp.c…
==============================================================================
--- trunk/reactos/win32ss/gdi/dib/dib32bpp.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/gdi/dib/dib32bpp.c [iso-8859-1] Thu Aug 17 22:45:51 2017
@@ -312,7 +312,7 @@
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);
}