Fix initialization of XLATEOBJ in NtGdiGetPixel. Fixes GetPixel regressions.

svn path=/trunk/; revision=56436
This commit is contained in:
Timo Kreuzer 2012-04-27 09:31:24 +00:00
parent ea9cf8c55d
commit e33dcea4d4

View file

@ -1151,7 +1151,12 @@ NtGdiGetPixel(
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,