Remove unused variable from Sprite_set_colorMode()

This commit is contained in:
David Capello 2017-11-30 11:54:50 -03:00
parent 677d5253ad
commit c0ef5e2a15

View File

@ -238,8 +238,8 @@ void Sprite_get_colorMode(script::ContextHandle handle)
void Sprite_set_colorMode(script::ContextHandle handle) void Sprite_set_colorMode(script::ContextHandle handle)
{ {
script::Context ctx(handle); script::Context ctx(handle);
auto wrap = (SpriteWrap*)ctx.toUserData(0, kTag);
// TODO // TODO
// auto wrap = (SpriteWrap*)ctx.toUserData(0, kTag);
ctx.pushUndefined(); ctx.pushUndefined();
} }