diff options
author | chai <chaifix@163.com> | 2018-11-14 00:51:15 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-11-14 00:51:15 +0800 |
commit | 0bfff69053e27fbb6e541a6b8afa6c8e61a62403 (patch) | |
tree | d3bd41f8defef8e08f80850d56eaf7a50de3c05a /src/lua/modules/graphics/je_lua_graphics.cpp | |
parent | d2058dce75ceb67f27c50e9f27d755a4d30c9003 (diff) |
*shared 增加依赖
Diffstat (limited to 'src/lua/modules/graphics/je_lua_graphics.cpp')
-rw-r--r-- | src/lua/modules/graphics/je_lua_graphics.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lua/modules/graphics/je_lua_graphics.cpp b/src/lua/modules/graphics/je_lua_graphics.cpp index 78674dd..5255de7 100644 --- a/src/lua/modules/graphics/je_lua_graphics.cpp +++ b/src/lua/modules/graphics/je_lua_graphics.cpp @@ -6,8 +6,6 @@ #include "lua/modules/types.h" #include "lua/common/je_lua_common.h" -#include "je_lua_sprite.h" - using namespace std; using namespace JinEngine; using namespace JinEngine::Graphics; @@ -664,7 +662,7 @@ namespace JinEngine LUA_IMPLEMENT int l_newSprite(lua_State* L) { Proxy* p = luax_newinstance(L, JIN_GRAPHICS_SPRITE); - p->bind(new Shared<Lua::Sprite>(new Lua::Sprite(), JIN_GRAPHICS_SPRITE)); + p->bind(new Shared<Sprite>(new Sprite(), JIN_GRAPHICS_SPRITE)); return 1; } |