[libgdx] Fix UVs for null region in RegionAttachment.updateRegion()

This commit is contained in:
Mario Zechner 2022-09-15 07:48:58 +02:00
parent ba5f89f361
commit 975a3fa30a

View File

@ -84,7 +84,7 @@ public class RegionAttachment extends Attachment implements HasTextureRegion {
if (region == null) { if (region == null) {
uvs[BLX] = 0; uvs[BLX] = 0;
uvs[BLY] = 0; uvs[BLY] = 0;
uvs[ULX] = 1; uvs[ULX] = 0;
uvs[ULY] = 1; uvs[ULY] = 1;
uvs[URX] = 1; uvs[URX] = 1;
uvs[URY] = 1; uvs[URY] = 1;