diff options
author | chai <chaifix@163.com> | 2018-09-09 21:05:28 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-09-09 21:05:28 +0800 |
commit | 6decddfd8470b44609e8c3aa144380f198b7b54c (patch) | |
tree | 619de00d3d7ba058c2597c55c6ae570cc018c2cf /src/lua/modules/graphics/graphics.cpp | |
parent | 4cae436252d108f9bffe30009b754df00137bb1c (diff) |
*update
Diffstat (limited to 'src/lua/modules/graphics/graphics.cpp')
-rw-r--r-- | src/lua/modules/graphics/graphics.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/modules/graphics/graphics.cpp b/src/lua/modules/graphics/graphics.cpp index d662cc7..92bc7d5 100644 --- a/src/lua/modules/graphics/graphics.cpp +++ b/src/lua/modules/graphics/graphics.cpp @@ -280,7 +280,7 @@ namespace lua } Proxy* proxy = (Proxy*)luax_checktype(L, 1, JIN_GRAPHICS_CANVAS); Ref<Canvas>& ref = proxy->getRef<Canvas>(); - ref->bind(); + Canvas::bind(ref.getObject()); return 0; } |