Author: tkreuzer
Date: Fri Apr 27 09:31:24 2012
New Revision: 56436
URL:
http://svn.reactos.org/svn/reactos?rev=56436&view=rev
Log:
[WIN32K]
Fix initialization of XLATEOBJ in NtGdiGetPixel. Fixes GetPixel regressions.
Modified:
trunk/reactos/win32ss/gdi/ntgdi/bitblt.c
Modified: trunk/reactos/win32ss/gdi/ntgdi/bitblt.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/gdi/ntgdi/bitblt.c…
==============================================================================
--- trunk/reactos/win32ss/gdi/ntgdi/bitblt.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/gdi/ntgdi/bitblt.c [iso-8859-1] Fri Apr 27 09:31:24 2012
@@ -1151,7 +1151,12 @@
EXLATEOBJ exlo;
/* Translate from the source palette to RGB color */
- EXLATEOBJ_vInitialize(&exlo, psurfSrc->ppal, &gpalRGB, 0, 0, 0);
+ EXLATEOBJ_vInitialize(&exlo,
+ psurfSrc->ppal,
+ &gpalRGB,
+ 0,
+ RGB(0xff,0xff,0xff),
+ RGB(0,0,0));
/* Call the copy bits function */
bResult = IntEngCopyBits(&psurfDest->SurfObj,