Use memmove for potentially overlapping copies

* The first couple of pixels will overlap
This commit is contained in:
baldurk
2026-02-20 13:39:07 +00:00
parent ab4f22f107
commit 71d251294c
+1 -1
View File
@@ -339,7 +339,7 @@ void GLReplay::GetOutputWindowData(uint64_t id, bytebuf &retData)
{
for(int32_t x = 0; x < outw.width; x++)
{
memcpy(dst, src, 3);
memmove(dst, src, 3);
dst += 3;
src += 4;
}