summaryrefslogtreecommitdiff
path: root/Runtime/GUI/Font.h
diff options
context:
space:
mode:
Diffstat (limited to 'Runtime/GUI/Font.h')
-rw-r--r--Runtime/GUI/Font.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Runtime/GUI/Font.h b/Runtime/GUI/Font.h
index 4bcc70b..cf6e4ba 100644
--- a/Runtime/GUI/Font.h
+++ b/Runtime/GUI/Font.h
@@ -127,7 +127,7 @@ private:
//-------------------------------------------------------------------------
- std::unordered_map<character::Hash, Character> m_Characters; // 渲染完的文字
+ std::unordered_map<unsigned int , Character> m_Characters; // 渲染完的文字
std::vector<GlyphAtals> m_Atlases; // 当前所有的atlas,由font完全拥有所有权,所以是lightuserdata
std::unordered_map<int/*pixelSize*/, GlyphAtals*> m_AtlasCache; // 快速找到可用的atlas