GetPixel needs to return CLR_INVALID if not inside clipping region.

This commit is contained in:
Marcus Meissner 2000-11-25 01:22:54 +00:00 committed by Alexandre Julliard
parent 7521295fba
commit ad62f823f4

View file

@ -388,7 +388,7 @@ COLORREF WINAPI GetPixel16( HDC16 hdc, INT16 x, INT16 y )
*/
COLORREF WINAPI GetPixel( HDC hdc, INT x, INT y )
{
COLORREF ret = 0;
COLORREF ret = CLR_INVALID;
DC * dc = DC_GetDCUpdate( hdc );
if (dc)