CCSprite* shelfBG = CCSprite::spriteWithFile(RES_BOOK_SHELF_BG, r);
ccTexParams tp = {GL_LINEAR, GL_LINEAR, GL_REPEAT,GL_REPEAT};
shelfBG->getTexture()->setTexParameters(&tp);
I want repeat maps,but if the CCSpritewhick read from plist,it is invalid.