mirror of https://github.com/axmolengine/axmol.git
fixed #79
This commit is contained in:
parent
8c88676d27
commit
1cb377bca8
|
@ -440,12 +440,18 @@ protected:
|
|||
|
||||
void mainLoop(void);
|
||||
void setNextScene(void);
|
||||
|
||||
// shows the FPS in the screen
|
||||
#if CC_DIRECTOR_FAST_FPS
|
||||
void showFPS(void);
|
||||
#else
|
||||
void showFPS(void) {}
|
||||
#endif // CC_DIRECTOR_FAST_FPS
|
||||
|
||||
// calculates delta time since last time it was called
|
||||
void calculateDeltaTime(void);
|
||||
|
||||
#if defined CC_ENABLE_PROFILERS
|
||||
#if CC_ENABLE_PROFILERS
|
||||
void showProfilers(void);
|
||||
#endif // CC_ENABLE_PROFILERS
|
||||
|
||||
|
|
|
@ -65,7 +65,7 @@ CCAtlasNode * CCAtlasNode::initWithTileFile(const char *tile, int tileWidth, int
|
|||
// also, using: self.textureAtlas supports re-initialization without leaking
|
||||
this->m_pTextureAtlas = new CCTextureAtlas();
|
||||
m_pTextureAtlas->initWithFile(tile, itemsToRender);
|
||||
m_pTextureAtlas->release();
|
||||
// m_pTextureAtlas->release();
|
||||
|
||||
this->updateBlendFunc();
|
||||
this->updateOpacityModifyRGB();
|
||||
|
|
Loading…
Reference in New Issue