=cocos2d namespace adder for CC_INCREMENT_GL_DRAWN_BATCHES_AND_VERTICES macro

This commit is contained in:
akermen 2015-04-11 10:32:33 +03:00
parent 8a160d76a3
commit 1d83229956
1 changed files with 1 additions and 1 deletions

View File

@ -260,7 +260,7 @@ It should work same as apples CFSwapInt32LittleToHost(..)
#define CC_INCREMENT_GL_DRAWS(__n__) Director::getInstance()->getRenderer()->addDrawnBatches(__n__)
#define CC_INCREMENT_GL_DRAWN_BATCHES_AND_VERTICES(__drawcalls__, __vertices__) \
do { \
auto __renderer__ = Director::getInstance()->getRenderer(); \
auto __renderer__ = cocos2d::Director::getInstance()->getRenderer(); \
__renderer__->addDrawnBatches(__drawcalls__); \
__renderer__->addDrawnVertices(__vertices__); \
} while(0)