mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-04 03:33:44 +01:00
UIAtlas: Fix bug when adding 1px border to images (was a no-op by accident)
This commit is contained in:
1 parent
c5b1f2ffb0
commit
3ae0057285
1 file changed
+3
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user