diff options
author | chai <chaifix@163.com> | 2018-11-23 12:24:22 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-11-23 12:24:22 +0800 |
commit | 8d4e45c9a85175d0fc37d7d5c49ff90abb01fe4f (patch) | |
tree | 4ca2d0b34366293ad57d77c64e753c9013ccdc21 /src/lua/modules/graphics/je_lua_texture_font.cpp | |
parent | cfa05003be67344fbc79c338c2ac82f0accd979d (diff) |
*修改lua bind
Diffstat (limited to 'src/lua/modules/graphics/je_lua_texture_font.cpp')
-rw-r--r-- | src/lua/modules/graphics/je_lua_texture_font.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/modules/graphics/je_lua_texture_font.cpp b/src/lua/modules/graphics/je_lua_texture_font.cpp index 6c62ee2..58677eb 100644 --- a/src/lua/modules/graphics/je_lua_texture_font.cpp +++ b/src/lua/modules/graphics/je_lua_texture_font.cpp @@ -44,7 +44,7 @@ namespace JinEngine Text* text = p2->getObject<Text>(); page = tf->typeset(*text, lineheight, spacing); } - Shared<Page>* shrPage = new Shared<Page>(page, Jin_Lua_Page); + Shared<Page>* shrPage = new Shared<Page>(L, page, Jin_Lua_Page); shrPage->setDependency((int)PageDependency::DEP_TEXTURE_FONT, &shrTexFont); Proxy* pxyPage = luax_newinstance(L, Jin_Lua_Page, shrPage); return 1; |