[libgdx] Limit the number of entries nulled when a skin is cleared.

This commit is contained in:
NathanSweet 2018-10-29 17:11:50 +01:00
parent a97728a416
commit 69df56826d

View File

@ -94,7 +94,7 @@ public class Skin {
public void clear () {
for (Key key : attachments.keys())
keyPool.free(key);
attachments.clear();
attachments.clear(1024);
}
/** The skin's name, which is unique within the skeleton. */