diff options
Diffstat (limited to 'src/lua/modules/graphics/je_lua_ttf.cpp')
-rw-r--r-- | src/lua/modules/graphics/je_lua_ttf.cpp | 2 |
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; } |