summaryrefslogtreecommitdiff
path: root/Runtime/GUI/Font.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2021-11-18 19:14:35 +0800
committerchai <chaifix@163.com>2021-11-18 19:14:35 +0800
commit2ab7fad7b308debba0aacbf76831569f360d19a0 (patch)
treea28f4b6ed64ef9782be0f009ca9e458a709e34ca /Runtime/GUI/Font.h
parent6198d0c32b5416b328b55c4c4e5b760c745952c7 (diff)
*misc
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