diff --git a/worldwind/src/main/java/gov/nasa/worldwind/render/RenderContext.java b/worldwind/src/main/java/gov/nasa/worldwind/render/RenderContext.java index 2fcf20b9f..6c29df0c6 100644 --- a/worldwind/src/main/java/gov/nasa/worldwind/render/RenderContext.java +++ b/worldwind/src/main/java/gov/nasa/worldwind/render/RenderContext.java @@ -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) {