Removed another bad assert and two no longer needed ones.

This commit is contained in:
Marcus Meissner 2000-07-08 11:43:34 +00:00 committed by Alexandre Julliard
parent 18bd3f693b
commit 62eedafb4a
1 changed files with 0 additions and 5 deletions

View File

@ -281,9 +281,6 @@ HRESULT WINAPI IDirectDrawSurface4Impl_Blt(
yinc = (srcheight << 16) / dstheight;
if (!dwFlags) {
assert(ddesc.lPitch >= width);
assert(sdesc.lPitch >= width);
/* No effects, we can cheat here */
if (dstwidth == srcwidth) {
if (dstheight == srcheight) {
@ -309,8 +306,6 @@ HRESULT WINAPI IDirectDrawSurface4Impl_Blt(
for (y = sy = 0; y < dstheight; y++, sy += yinc) {
sbuf = sbase + (sy >> 16) * sdesc.lPitch;
assert((sy>>16) < srcheight);
if ((sy >> 16) == (last_sy >> 16)) {
/* this sourcerow is the same as last sourcerow -
* copy already stretched row