mirror of https://github.com/axmolengine/axmol.git
issue #61:
This commit is contained in:
parent
88888f7f63
commit
ae3f178c7b
|
@ -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 };
|
||||
|
|
Loading…
Reference in New Issue