Commit ad62f823 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

GetPixel needs to return CLR_INVALID if not inside clipping region.

parent 7521295f
...@@ -388,7 +388,7 @@ COLORREF WINAPI GetPixel16( HDC16 hdc, INT16 x, INT16 y ) ...@@ -388,7 +388,7 @@ COLORREF WINAPI GetPixel16( HDC16 hdc, INT16 x, INT16 y )
*/ */
COLORREF WINAPI GetPixel( HDC hdc, INT x, INT y ) COLORREF WINAPI GetPixel( HDC hdc, INT x, INT y )
{ {
COLORREF ret = 0; COLORREF ret = CLR_INVALID;
DC * dc = DC_GetDCUpdate( hdc ); DC * dc = DC_GetDCUpdate( hdc );
if (dc) if (dc)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment