mirror of
https://github.com/reactos/reactos.git
synced 2024-10-25 07:26:45 +00:00
fix one winetest for Bitmap and add note why some alpha blend test fails.
svn path=/trunk/; revision=33884
This commit is contained in:
parent
8f663e980b
commit
d1fd748e27
|
@ -1081,10 +1081,13 @@ EngAlphaBlend(IN SURFOBJ *Dest,
|
|||
|
||||
/* Validate input */
|
||||
|
||||
/* FIXME when WindowOrg.x or .y are negitve this check are not vaild,
|
||||
* we need convert the inputRect to the windows org and do it right */
|
||||
InputRect = *SourceRect;
|
||||
if ( (InputRect.top < 0) || (InputRect.bottom < 0) ||
|
||||
(InputRect.left < 0) || (InputRect.right < 0) )
|
||||
{
|
||||
SetLastWin32Error(ERROR_INVALID_PARAMETER);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue