diff --git a/inc/hgl/graph/font/TextLayout.h b/inc/hgl/graph/font/TextLayout.h index 6796f1f5..0f417b0b 100644 --- a/inc/hgl/graph/font/TextLayout.h +++ b/inc/hgl/graph/font/TextLayout.h @@ -100,8 +100,8 @@ namespace hgl int draw_chars_count; ///<要绘制字符列表 - SortedSets chars_sets; ///<不重复字符统计缓冲区 - SortedSets clear_chars_sets; ///<待清除的字符合集 + SortedSet chars_sets; ///<不重复字符统计缓冲区 + SortedSet clear_chars_sets; ///<待清除的字符合集 TileUVFloatMap chars_uv; ///<所有要绘制字符的uv struct CharDrawAttr diff --git a/inc/hgl/graph/font/TextRender.h b/inc/hgl/graph/font/TextRender.h index 932bd522..3675b95d 100644 --- a/inc/hgl/graph/font/TextRender.h +++ b/inc/hgl/graph/font/TextRender.h @@ -33,7 +33,7 @@ namespace hgl Color4f color; DeviceBuffer * ubo_color; - SortedSets tr_sets; + SortedSet tr_sets; private: diff --git a/src/SceneGraph/font/TileFont.cpp b/src/SceneGraph/font/TileFont.cpp index 002a6494..29f411ea 100644 --- a/src/SceneGraph/font/TileFont.cpp +++ b/src/SceneGraph/font/TileFont.cpp @@ -30,7 +30,7 @@ namespace hgl * @param rs 每个字符在纹理中的UV坐标 * @param chars_sets 要注册的字符合集 */ - bool TileFont::Registry(TileUVFloatMap &uv_map,SortedSets &chars_sets) + bool TileFont::Registry(TileUVFloatMap &uv_map,SortedSet &chars_sets) { ResPoolStats stats;