mirror of https://github.com/axmolengine/axmol.git
Merge pull request #4759 from Dhilan007/develop_crash
fix crash related to not support the z length modifier for size_t on vs
This commit is contained in:
commit
3a1c5e4f6e
|
@ -378,8 +378,8 @@ void SpriteBatchNode::increaseAtlasCapacity(void)
|
|||
// this is likely computationally expensive
|
||||
ssize_t quantity = (_textureAtlas->getCapacity() + 1) * 4 / 3;
|
||||
|
||||
CCLOG("cocos2d: SpriteBatchNode: resizing TextureAtlas capacity from [%zd] to [%zd].",
|
||||
_textureAtlas->getCapacity(),
|
||||
CCLOG("cocos2d: SpriteBatchNode: resizing TextureAtlas capacity from [%d] to [%d].",
|
||||
static_cast<int>(_textureAtlas->getCapacity()),
|
||||
quantity);
|
||||
|
||||
if (! _textureAtlas->resizeCapacity(quantity))
|
||||
|
|
Loading…
Reference in New Issue