Revert "Revert "Fix Post Processing in 64-bit Software 3P/4P""

This reverts commit 392f357b1a.
This commit is contained in:
James R 2019-05-28 15:08:33 -07:00
parent c0e7c17cce
commit 9ec9c639dd

View file

@ -292,7 +292,7 @@ void VID_BlitLinearScreen(const UINT8 *srcptr, UINT8 *destptr, INT32 width, INT3
#ifdef HAVE_VIDCOPY
VID_BlitLinearScreen_ASM(srcptr,destptr,width,height,srcrowbytes,destrowbytes);
#else
if (srcrowbytes == destrowbytes)
if ((srcrowbytes == destrowbytes) && (srcrowbytes == (size_t)width))
M_Memcpy(destptr, srcptr, srcrowbytes * height);
else
{