Author: greatlrd
Date: Sat Jun 7 05:15:38 2008
New Revision: 33884
URL:
http://svn.reactos.org/svn/reactos?rev=33884&view=rev
Log:
fix one winetest for Bitmap and add note why some alpha blend test fails.
Modified:
trunk/reactos/subsystems/win32/win32k/eng/bitblt.c
Modified: trunk/reactos/subsystems/win32/win32k/eng/bitblt.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/en…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/eng/bitblt.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/eng/bitblt.c [iso-8859-1] Sat Jun 7 05:15:38
2008
@@ -1081,10 +1081,13 @@
/* 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;
}