tmx地图真机显示有间隙黑线

在网上找到一个方法是COCOS2D的

]for( CCSpriteBatchNode child in ) {
*] setAliasTexParameters];
*] }

这个转成COCOS2D-X的C++语法要怎么写呢

CCArray *_mapArr = gameMap->children();
//gameMap->children();现在不知道,暂且将返回的类型定为A吧。
for(int i = 0;i<_mapArr->count();i++){
A *_map = _mapArr->objectAtIndex(i);
B *_texture = _map->texture();//B类型也不知道
_texture->setAliasTexParameters();
}
大概就是这样吧。。。

学习啦。。。。