Remove the assertion when there is no source surface.

This commit is contained in:
Lionel Ulmer 2000-05-03 17:43:07 +00:00 committed by Alexandre Julliard
parent 952c1e442a
commit 25b05b1a2f
1 changed files with 1 additions and 1 deletions

View File

@ -221,7 +221,7 @@ HRESULT WINAPI IDirectDrawSurface4Impl_Blt(
memset(&xsrc,0,sizeof(xsrc));
}
}
assert(xsrc.bottom <= sdesc.dwHeight);
if (src) assert(xsrc.bottom <= sdesc.dwHeight);
assert(xdst.bottom <= ddesc.dwHeight);
bpp = GET_BPP(ddesc);