Skip to content

Commit 313d90c

Browse files
committed
Fix text rendering issue introduced in commit 9377485
1 parent fdbed02 commit 313d90c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

worldwind/src/main/java/gov/nasa/worldwind/render/RenderContext.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ public Texture getText(String text, TextAttributes attributes) {
432432
}
433433

434434
public Texture renderText(String text, TextAttributes attributes) {
435-
TextCacheKey key = this.scratchTextCacheKey.set(text, attributes);
435+
TextCacheKey key = new TextCacheKey().set(text, attributes);
436436
Texture texture = null;
437437

438438
if (text != null && attributes != null) {

0 commit comments

Comments
 (0)