mirror of https://github.com/axmolengine/axmol.git
Fixing profiling compile error
This commit is contained in:
parent
288f8ced59
commit
21cab34029
|
@ -42,6 +42,7 @@
|
||||||
#include "support/zip_support/ZipUtils.h"
|
#include "support/zip_support/ZipUtils.h"
|
||||||
#include "platform/CCFileUtils.h"
|
#include "platform/CCFileUtils.h"
|
||||||
#include "kazmath/GL/matrix.h"
|
#include "kazmath/GL/matrix.h"
|
||||||
|
#include "support/CCProfiling.h"
|
||||||
|
|
||||||
NS_CC_BEGIN
|
NS_CC_BEGIN
|
||||||
|
|
||||||
|
@ -402,7 +403,7 @@ void CCParticleBatchNode::removeAllChildrenWithCleanup(bool doCleanup)
|
||||||
|
|
||||||
void CCParticleBatchNode::draw(void)
|
void CCParticleBatchNode::draw(void)
|
||||||
{
|
{
|
||||||
CC_PROFILER_STOP("CCParticleBatchNode - draw");
|
CC_PROFILER_START("CCParticleBatchNode - draw");
|
||||||
|
|
||||||
if( m_pTextureAtlas->getTotalQuads() == 0 )
|
if( m_pTextureAtlas->getTotalQuads() == 0 )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue