aboutsummaryrefslogtreecommitdiff
path: root/src/lua/modules/graphics/je_lua_ttf.cpp
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2018-11-14 21:21:54 +0800
committerchai <chaifix@163.com>2018-11-14 21:21:54 +0800
commit611d12bdd245dd43b7434661d3e24f2b435378cb (patch)
tree976904a325695f76680934c0d917ee664e1529d5 /src/lua/modules/graphics/je_lua_ttf.cpp
parent84aea028f9955c9313fa14b62d39a3e8e80b84b7 (diff)
*更新渲染模块
Diffstat (limited to 'src/lua/modules/graphics/je_lua_ttf.cpp')
-rw-r--r--src/lua/modules/graphics/je_lua_ttf.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/modules/graphics/je_lua_ttf.cpp b/src/lua/modules/graphics/je_lua_ttf.cpp
index 319fdd6..0216a9a 100644
--- a/src/lua/modules/graphics/je_lua_ttf.cpp
+++ b/src/lua/modules/graphics/je_lua_ttf.cpp
@@ -43,7 +43,7 @@ namespace JinEngine
}
Proxy* pxyPage = luax_newinstance(L, JIN_GRAPHICS_PAGE);
Shared<Page>* refPage = new Shared<Page>(page, JIN_GRAPHICS_PAGE);
- refPage->setDependency(PageDependency::DEP_TTF, &shrTTF);
+ refPage->setDependency((int)PageDependency::DEP_TTF, &shrTTF);
pxyPage->bind(refPage);
return 1;
}