Skip to content
Snippets Groups Projects
Commit 71e3ec55 authored by James R.'s avatar James R.
Browse files

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

This reverts commit 995edfb1.
parent cf36490c
No related branches found
No related tags found
No related merge requests found
......@@ -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
{
......
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