This commit is contained in:
Ming 2010-09-04 07:10:41 +00:00
parent 88888f7f63
commit ae3f178c7b
1 changed files with 1 additions and 0 deletions

View File

@ -86,6 +86,7 @@ namespace cocos2d {
m_tBlendFunc.dst = GL_ONE_MINUS_SRC_ALPHA;
m_pTexture = CCTextureCache::sharedTextureCache()->addImage(path);
m_pTexture->retain();
/* default texture parameter */
ccTexParams params = { GL_LINEAR, GL_LINEAR, GL_REPEAT, GL_REPEAT };