Scaling dot-style image sprites in cocos2d-x

When scaling dot-style image sprites in cocos2d-x, anti-aliasing setting in texture should be unset as following.

auto spTest= Sprite::createWithSpriteFrameName("sprite-0-2");
spTest->getTexture()->setAliasTexParameters();
spTest->setScale(20);

If you want the anti-aliasing effect, you can use setAntiAliasTexParameters()  instead.