Commit 25b05b1a authored by Lionel Ulmer's avatar Lionel Ulmer Committed by Alexandre Julliard

Remove the assertion when there is no source surface.

parent 952c1e44
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment