Skip to content

Commit

Permalink
[libgdx] Limit the number of entries nulled when a skin is cleared.
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanSweet committed Oct 29, 2018
1 parent a97728a commit 69df568
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public void findAttachmentsForSlot (int slotIndex, Array<Attachment> attachments
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. */
Expand Down

0 comments on commit 69df568

Please sign in to comment.