mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user