mirror of https://github.com/axmolengine/axmol.git
fixed a warning in CCScale9Sprite::initWithBatchNode.
This commit is contained in:
parent
0afdfe33da
commit
e7628de857
cocos2dx/extensions/CCControlExtension
|
@ -43,7 +43,7 @@ bool CCScale9Sprite::initWithBatchNode(CCSpriteBatchNode* batchnode, CCRect rect
|
|||
}
|
||||
this->m_positionsAreDirty = true;
|
||||
|
||||
return this;
|
||||
return true;
|
||||
}
|
||||
|
||||
bool CCScale9Sprite::updateWithBatchNode(CCSpriteBatchNode* batchnode, CCRect rect, CCRect capInsets)
|
||||
|
|
Loading…
Reference in New Issue