Fix compiler warning
This commit is contained in:
parent
31ac81fe93
commit
003bef11ae
1 changed files with 1 additions and 1 deletions
|
|
@ -1603,7 +1603,7 @@ EXPORT void HWRAPI(ReadScreenFinalTexture) (UINT8 * restrict dest, INT32 scale)
|
|||
image -= screen_width*scale*3;
|
||||
if (scale == 1)
|
||||
memcpy(dest, image, stride);
|
||||
else for (size_t i = 0; i < stride; i += 3)
|
||||
else for (INT32 i = 0; i < stride; i += 3)
|
||||
memcpy(dest + i, image + i*scale, 3);
|
||||
dest += stride;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue