Remove the assertion when there is no source surface.
This commit is contained in:
parent
952c1e442a
commit
25b05b1a2f
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue