diff --git a/Common/Render/AtlasGen.cpp b/Common/Render/AtlasGen.cpp index a3bc816eb7..a66c494367 100644 --- a/Common/Render/AtlasGen.cpp +++ b/Common/Render/AtlasGen.cpp @@ -262,6 +262,9 @@ void Add1PxTransparentBorder(Image &img) { newData[(y + 1) * (img.w + 2) + (x + 1)] = c; } } + img.dat = std::move(newData); + img.w += 2; + img.h += 2; } void AddDropShadow(Image &img, int shadowSize, float intensity) {