Skip to content

Commit

Permalink
Fix text rendering issue introduced in commit 9377485
Browse files Browse the repository at this point in the history
  • Loading branch information
EMaksymenko committed Jul 17, 2022
1 parent fdbed02 commit 313d90c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ public Texture getText(String text, TextAttributes attributes) {
}

public Texture renderText(String text, TextAttributes attributes) {
TextCacheKey key = this.scratchTextCacheKey.set(text, attributes);
TextCacheKey key = new TextCacheKey().set(text, attributes);
Texture texture = null;

if (text != null && attributes != null) {
Expand Down

0 comments on commit 313d90c

Please sign in to comment.