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

This reverts commit 995edfb1e8.
This commit is contained in:
James R 2019-05-28 15:08:33 -07:00
parent cf36490ca6
commit 71e3ec55bf

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
{