diff options
author | Bernhard Liebl <Bernhard.Liebl@gmx.org> | 2018-01-07 16:56:46 +0100 |
---|---|---|
committer | Bernhard Liebl <Bernhard.Liebl@gmx.org> | 2018-01-07 16:57:23 +0100 |
commit | 526e637a9758482c1eb408eaa2d584b0340e7fcd (patch) | |
tree | 45a8646b25151b8767c323372a6b4ac0348646d8 /scene/resources/dynamic_font.cpp | |
parent | 29e68aa40e3effa1946b3889021b8c61a933c05c (diff) |
Fix stale dynamic font reference fetch from cache
Seems to fix issue 15392
Diffstat (limited to 'scene/resources/dynamic_font.cpp')
-rw-r--r-- | scene/resources/dynamic_font.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/resources/dynamic_font.cpp b/scene/resources/dynamic_font.cpp index 00fc601779..575c222cc1 100644 --- a/scene/resources/dynamic_font.cpp +++ b/scene/resources/dynamic_font.cpp @@ -651,8 +651,8 @@ DynamicFontAtSize::~DynamicFontAtSize() { if (valid) { FT_Done_FreeType(library); - font->size_cache.erase(id); } + font->size_cache.erase(id); } ///////////////////////// |