aboutsummaryrefslogtreecommitdiff
path: root/src/libjin/graphics/fonts/je_page.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2018-12-08 22:05:31 +0800
committerchai <chaifix@163.com>2018-12-08 22:05:31 +0800
commita16ce94158c9cf22a19c0e73dfe2e992a8302af1 (patch)
tree52d80d950cd410ba82af909e18f77e3b11cd6eda /src/libjin/graphics/fonts/je_page.h
parentd34e5c9d7c6135e805f2cc231411cdcc9910190c (diff)
*去除shared template
Diffstat (limited to 'src/libjin/graphics/fonts/je_page.h')
-rw-r--r--src/libjin/graphics/fonts/je_page.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libjin/graphics/fonts/je_page.h b/src/libjin/graphics/fonts/je_page.h
index 707f53a..b3c831c 100644
--- a/src/libjin/graphics/fonts/je_page.h
+++ b/src/libjin/graphics/fonts/je_page.h
@@ -39,7 +39,7 @@ namespace JinEngine
/// A page is a pre-rendered text struct for reducing draw call. Each page
/// keeps a font pointer which should not be changed.
///
- struct Page
+ struct Page : public Object
{
Font* font;
std::vector<GlyphArrayDrawInfo> glyphinfolist;