aboutsummaryrefslogtreecommitdiff
path: root/src/lua/graphics/luaopen_Image.cpp
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2018-07-28 10:39:31 +0800
committerchai <chaifix@163.com>2018-07-28 10:39:31 +0800
commit589ee7ee7014a5f8918e1d99c0e04bff4f7a83cb (patch)
tree8d377c830bcc68afd24b02f97a0811d3d4c50598 /src/lua/graphics/luaopen_Image.cpp
parent654a75401775d74f95f3d98611e333bb5641ee9b (diff)
*update
Diffstat (limited to 'src/lua/graphics/luaopen_Image.cpp')
-rw-r--r--src/lua/graphics/luaopen_Image.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lua/graphics/luaopen_Image.cpp b/src/lua/graphics/luaopen_Image.cpp
index d651e20..5fc9aea 100644
--- a/src/lua/graphics/luaopen_Image.cpp
+++ b/src/lua/graphics/luaopen_Image.cpp
@@ -2,13 +2,13 @@
#include "libjin/jin.h"
#include "lua/luaopen_types.h"
-using namespace jin::render;
-
namespace jin
{
namespace lua
{
+ using namespace jin::graphics;
+
static inline Texture* checkTexture(lua_State* L)
{
Proxy* proxy = (Proxy*)luax_checktype(L, 1, TYPE_IMAGE);