mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-30 19:26:05 +00:00
[WIN32K]
Fix initialization of XLATEOBJ in NtGdiGetPixel. Fixes GetPixel regressions. svn path=/trunk/; revision=56436
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user