diff options
author | chai <chaifix@163.com> | 2018-07-25 20:27:55 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-07-25 20:27:55 +0800 |
commit | 0371f99359d1f58dbec6353234c2b1ebd86a7585 (patch) | |
tree | 59da821f194dd067e8bf196ebe422712cd975346 /src/lua/graphics/luaopen_JSL.cpp | |
parent | 128b6dd3e3a803e475ec03493ee26e6b20d7e42b (diff) |
*image->texture
Diffstat (limited to 'src/lua/graphics/luaopen_JSL.cpp')
-rw-r--r-- | src/lua/graphics/luaopen_JSL.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lua/graphics/luaopen_JSL.cpp b/src/lua/graphics/luaopen_JSL.cpp index 236d8a6..5289a43 100644 --- a/src/lua/graphics/luaopen_JSL.cpp +++ b/src/lua/graphics/luaopen_JSL.cpp @@ -67,8 +67,8 @@ namespace lua case IMAGE: { Proxy* proxy = (Proxy*)luax_checktype(L, 4, TYPE_IMAGE); - Image* img = (Image*)proxy->object; - jsl->sendImage(variable, img); + Texture* tex = (Texture*)proxy->object; + jsl->sendTexture(variable, tex); break; } case CANVAS: |