fix one winetest for Bitmap and add note why some alpha blend test fails.

svn path=/trunk/; revision=33884
This commit is contained in:
Magnus Olsen 2008-06-07 10:15:38 +00:00
parent 8f663e980b
commit d1fd748e27

View file

@ -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;
}