aboutsummaryrefslogtreecommitdiff
path: root/src/lua/modules/graphics/je_lua_texture_font.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_texture_font.cpp
parent84aea028f9955c9313fa14b62d39a3e8e80b84b7 (diff)
*更新渲染模块
Diffstat (limited to 'src/lua/modules/graphics/je_lua_texture_font.cpp')
-rw-r--r--src/lua/modules/graphics/je_lua_texture_font.cpp2
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 0bd36e6..8be9a9d 100644
--- a/src/lua/modules/graphics/je_lua_texture_font.cpp
+++ b/src/lua/modules/graphics/je_lua_texture_font.cpp
@@ -43,7 +43,7 @@ namespace JinEngine
}
Proxy* pxyPage = luax_newinstance(L, JIN_GRAPHICS_PAGE);
Shared<Page>* shrPage = new Shared<Page>(page, JIN_GRAPHICS_PAGE);
- shrPage->setDependency(PageDependency::DEP_TEXTURE_FONT, &shrTexFont);
+ shrPage->setDependency((int)PageDependency::DEP_TEXTURE_FONT, &shrTexFont);
pxyPage->bind(shrPage);
return 1;
}