mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 20:59:54 +00:00
GetPixel needs to return CLR_INVALID if not inside clipping region.
This commit is contained in:
parent
7521295fba
commit
ad62f823f4
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user