From 21cab340296039d49b5f284f9f830823c37888c0 Mon Sep 17 00:00:00 2001 From: Dawid Drozd Date: Fri, 22 Mar 2013 07:53:58 +0100 Subject: [PATCH] Fixing profiling compile error --- cocos2dx/particle_nodes/CCParticleBatchNode.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cocos2dx/particle_nodes/CCParticleBatchNode.cpp b/cocos2dx/particle_nodes/CCParticleBatchNode.cpp index 5765c42f09..d08875d3d6 100644 --- a/cocos2dx/particle_nodes/CCParticleBatchNode.cpp +++ b/cocos2dx/particle_nodes/CCParticleBatchNode.cpp @@ -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 ) {