ddraw: Remove rectangle validation from ddraw_surface7_BltFast().

This is already done by wined3d_surface_blt().
This commit is contained in:
Henri Verbeet 2011-08-04 19:53:28 +02:00 committed by Alexandre Julliard
parent a84275075d
commit 831801dd60
1 changed files with 0 additions and 8 deletions

View File

@ -3622,14 +3622,6 @@ static HRESULT WINAPI ddraw_surface7_BltFast(IDirectDrawSurface7 *iface, DWORD d
*/
if(rsrc)
{
if(rsrc->top > rsrc->bottom || rsrc->left > rsrc->right ||
rsrc->right > src->surface_desc.dwWidth ||
rsrc->bottom > src->surface_desc.dwHeight)
{
WARN("Source rectangle is invalid, returning DDERR_INVALIDRECT\n");
return DDERR_INVALIDRECT;
}
src_w = rsrc->right - rsrc->left;
src_h = rsrc->bottom - rsrc->top;
}