diff --git a/win32ss/gdi/ntgdi/bitblt.c b/win32ss/gdi/ntgdi/bitblt.c index 2e3eaeef0b2..c86bbbc53ba 100644 --- a/win32ss/gdi/ntgdi/bitblt.c +++ b/win32ss/gdi/ntgdi/bitblt.c @@ -1598,6 +1598,9 @@ NtGdiGetPixel( /* Delete the surface */ GDIOBJ_vDeleteObject(&psurfDest->BaseObject); + + /* The top byte is zero */ + ulRGBColor &= 0x00FFFFFF; } leave: