mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 20:25:39 +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
1 changed files with 6 additions and 1 deletions
|
@ -1151,7 +1151,12 @@ NtGdiGetPixel(
|
||||||
EXLATEOBJ exlo;
|
EXLATEOBJ exlo;
|
||||||
|
|
||||||
/* Translate from the source palette to RGB color */
|
/* 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 */
|
/* Call the copy bits function */
|
||||||
bResult = IntEngCopyBits(&psurfDest->SurfObj,
|
bResult = IntEngCopyBits(&psurfDest->SurfObj,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue