Fixing profiling compile error

This commit is contained in:
Dawid Drozd 2013-03-22 07:53:58 +01:00
parent 288f8ced59
commit 21cab34029
1 changed files with 2 additions and 1 deletions

View File

@ -42,6 +42,7 @@
#include "support/zip_support/ZipUtils.h"
#include "platform/CCFileUtils.h"
#include "kazmath/GL/matrix.h"
#include "support/CCProfiling.h"
NS_CC_BEGIN
@ -402,7 +403,7 @@ void CCParticleBatchNode::removeAllChildrenWithCleanup(bool doCleanup)
void CCParticleBatchNode::draw(void)
{
CC_PROFILER_STOP("CCParticleBatchNode - draw");
CC_PROFILER_START("CCParticleBatchNode - draw");
if( m_pTextureAtlas->getTotalQuads() == 0 )
{