Commit 62eedafb authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

Removed another bad assert and two no longer needed ones.

parent 18bd3f69
......@@ -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
......
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