mirror of
https://github.com/reactos/reactos.git
synced 2024-07-15 08:56:08 +00:00
[WIN32K]
Fix initialization of XLATEOBJ in NtGdiGetPixel. Fixes GetPixel regressions. svn path=/trunk/; revision=56436
This commit is contained in:
parent
ea9cf8c55d
commit
e33dcea4d4
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue