diff options
author | chai <chaifix@163.com> | 2018-12-04 14:10:29 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-12-04 14:10:29 +0800 |
commit | e1bc01ce6948283930f7f29a640a91a27a29c997 (patch) | |
tree | 10620e2107f5e3df96a61516090347b950c58a74 /src/lua/modules/graphics/je_lua_texture_font.cpp | |
parent | f439c73308774d39cc9647ebfeedcf52b2111fed (diff) |
*格式化代码
Diffstat (limited to 'src/lua/modules/graphics/je_lua_texture_font.cpp')
-rw-r--r-- | src/lua/modules/graphics/je_lua_texture_font.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lua/modules/graphics/je_lua_texture_font.cpp b/src/lua/modules/graphics/je_lua_texture_font.cpp index eee134c..afabf18 100644 --- a/src/lua/modules/graphics/je_lua_texture_font.cpp +++ b/src/lua/modules/graphics/je_lua_texture_font.cpp @@ -44,9 +44,9 @@ namespace JinEngine Text* text = p2->getObject<Text>(); page = tf->typeset(*text, lineheight, spacing); } - Shared<Page>* shrPage = new Shared<Page>(L, page, Jin_Lua_Page); - shrPage->setDependency((int)PageDependency::DEP_TEXTURE_FONT, &shrTexFont); - LuaObject* pxyPage = luax_newinstance(L, Jin_Lua_Page, shrPage); + Shared<Page>* shrPage = new Shared<Page>(page, Jin_Lua_Page); + LuaObject* luaPage = luax_newinstance(L, Jin_Lua_Page, shrPage); + luaPage->setDependency((int)PageDependency::DEP_TEXTURE_FONT, &shrTexFont); return 1; } |