The texture packer writes the texture settings you choose to the atlas file. The spine-cocos2dx runtime ignores them. You need to get a reference to the texture and set the filtering parameters. You could edit spine-cocos2dx.cpp
where it gets the texture, or get the texture yourself and modify it:
Texture2D* texture = Director::getInstance()->getTextureCache()->addImage(path);
Texture2D::TexParams tp = {GL_LINEAR, GL_LINEAR, GL_CLAMP_TO_EDGE, GL_CLAMP_TO_EDGE};
texture->setTexParameters(&tp);
Or get it from the atlas region:
spAtlas* atlas = spAtlas_create(...);
spAtlasRegion* region = spAtlas_findRegion("regionName");
Texture2D* texture = (Texture2D*)region->page->rendererObject;
Texture2D::TexParams tp = {GL_LINEAR, GL_LINEAR, GL_CLAMP_TO_EDGE, GL_CLAMP_TO_EDGE};
texture->setTexParameters(&tp);
Or iterate through all the atlas page(s):
spAtlas* atlas = spAtlas_create(...);
spAtlasPage* page = atlas->pages;
Texture2D::TexParams tp = {GL_LINEAR, GL_LINEAR, GL_CLAMP_TO_EDGE, GL_CLAMP_TO_EDGE};
while (page) {
Texture2D* texture = (Texture2D*)page->rendererObject;
texture->setTexParameters(&tp);
page = page->next;
}