projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4368fee
)
[WIN32K] Do not truncate the result of the color translation to 8 bits in DIB_24BPP_T...
author
Amine Khaldi
<amine.khaldi@reactos.org>
Fri, 6 Nov 2015 22:07:49 +0000
(22:07 +0000)
committer
Amine Khaldi
<amine.khaldi@reactos.org>
Fri, 6 Nov 2015 22:07:49 +0000
(22:07 +0000)
svn path=/trunk/; revision=69821
reactos/win32ss/gdi/dib/dib24bpp.c
patch
|
blob
|
history
diff --git
a/reactos/win32ss/gdi/dib/dib24bpp.c
b/reactos/win32ss/gdi/dib/dib24bpp.c
index
5065fce
..
7dedceb
100644
(file)
--- a/
reactos/win32ss/gdi/dib/dib24bpp.c
+++ b/
reactos/win32ss/gdi/dib/dib24bpp.c
@@
-431,7
+431,7
@@
DIB_24BPP_TransparentBlt(SURFOBJ *DestSurf, SURFOBJ *SourceSurf,
Source = DIB_GetSourceIndex(SourceSurf, SourceX, SourceY);
if(Source != iTransColor)
{
- Dest =
(BYTE)
XLATEOBJ_iXlate(ColorTranslation, Source) & 0xFFFFFF;
+ Dest = XLATEOBJ_iXlate(ColorTranslation, Source) & 0xFFFFFF;
*(PUSHORT)(DestBits) = Dest & 0xFFFF;
*(DestBits + 2) = (BYTE)(Dest >> 16);
}