diff --git a/source/common/textures/animtexture.cpp b/source/common/textures/animtexture.cpp index 85bd3ed1b..75dbb0111 100644 --- a/source/common/textures/animtexture.cpp +++ b/source/common/textures/animtexture.cpp @@ -46,6 +46,7 @@ void AnimTexture::SetFrameSize(int format, int width, int height) { FTexture::SetSize(width, height); Image.Resize(width * height * (format == Paletted ? 1 : 3)); + memset(Image.Data(), 0, Image.Size()); pixelformat = format; }