diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2017-03-24 22:52:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-24 22:52:36 +0100 |
commit | 397380e9e5e07b438327b32a84a2e18f67ecf2c1 (patch) | |
tree | c98991c58202fee328e94fe0bc1dc66d0379162e /scene/resources/dynamic_font.h | |
parent | 6674c556ae531a161b4d9c11076864db83965a18 (diff) | |
parent | 56af1a37900fb2496e41acfbc374f39979c7d806 (diff) |
Merge pull request #8130 from volzhs/cache-font-master
Cache DynamicFont resource for Android
Diffstat (limited to 'scene/resources/dynamic_font.h')
-rw-r--r-- | scene/resources/dynamic_font.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/resources/dynamic_font.h b/scene/resources/dynamic_font.h index 9502943909..4243ab2c03 100644 --- a/scene/resources/dynamic_font.h +++ b/scene/resources/dynamic_font.h @@ -141,6 +141,7 @@ class DynamicFontAtSize : public Reference { Ref<DynamicFontData> font; DynamicFontData::CacheID id; + static HashMap<String, Vector<uint8_t> > _fontdata; Error _load(); protected: |