Fix VID_BlitLinearScreen's SSE version ignoring width (closes #128)
This commit is contained in:
parent
f60e499f91
commit
a08c097a20
1 changed files with 1 additions and 1 deletions
|
|
@ -498,7 +498,7 @@ static void CV_constextsize_OnChange(void)
|
|||
void VID_BlitLinearScreen(const UINT8 *srcptr, UINT8 *destptr, INT32 width, INT32 height, size_t srcrowbytes,
|
||||
size_t destrowbytes)
|
||||
{
|
||||
if (srcrowbytes == destrowbytes)
|
||||
if (srcrowbytes == destrowbytes && srcrowbytes == width)
|
||||
{
|
||||
size_t i = srcrowbytes * height;
|
||||
#if defined(__SSE__)
|
||||
|
|
|
|||
Loading…
Reference in a new issue