mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-04-24 08:38:47 +00:00
Texture data overlap occuring here, using memmove instead.
This commit is contained in:
parent
44084f81af
commit
ce4d1fc1e4
1 changed files with 1 additions and 1 deletions
|
@ -1273,7 +1273,7 @@ void FMultiPatchTexture::ResolvePatches()
|
|||
{
|
||||
if (Parts[i].Texture == nullptr)
|
||||
{
|
||||
memcpy(&Parts[i], &Parts[i + 1], (NumParts - i - 1) * sizeof(TexPart));
|
||||
memmove(&Parts[i], &Parts[i + 1], (NumParts - i - 1) * sizeof(TexPart));
|
||||
i--;
|
||||
NumParts--;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue