Skip to content
Snippets Groups Projects
Commit 62eedafb authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard
Browse files

Removed another bad assert and two no longer needed ones.

parent 18bd3f69
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment