cocos2d/cocos2d-x — pull request #9476 by musikov (2014-12-11 10:58:09+00:00)
Title: ControlSwitchSprite now uses maskSprite's displayFrame instead of texture; removed some legacy code from ControlSwitchSprite;

ControlSwitchSprite now uses maskSprite's displayFrame instead of texture;
removed some legacy code from ControlSwitchSprite;