mirror of https://github.com/axmolengine/axmol.git
Fix template android compilation issue on physics3d
This commit is contained in:
parent
f38c8852fc
commit
70606caa14
|
@ -338,7 +338,7 @@ void SpriteFrameCache::removeUnusedSpriteFrames()
|
||||||
if( spriteFrame->getReferenceCount() == 1 )
|
if( spriteFrame->getReferenceCount() == 1 )
|
||||||
{
|
{
|
||||||
toRemoveFrames.push_back(iter->first);
|
toRemoveFrames.push_back(iter->first);
|
||||||
spriteFrame->getTexture()->removeSpriteFrameCapInset(spriteFrame);
|
spriteFrame->getTexture()->removeSpriteFrameCapInset(spriteFrame);
|
||||||
CCLOG("cocos2d: SpriteFrameCache: removing unused frame: %s", iter->first.c_str());
|
CCLOG("cocos2d: SpriteFrameCache: removing unused frame: %s", iter->first.c_str());
|
||||||
removed = true;
|
removed = true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,7 +3,7 @@ APP_STL := gnustl_static
|
||||||
# Uncomment this line to compile to armeabi-v7a, your application will run faster but support less devices
|
# Uncomment this line to compile to armeabi-v7a, your application will run faster but support less devices
|
||||||
#APP_ABI := armeabi-v7a
|
#APP_ABI := armeabi-v7a
|
||||||
|
|
||||||
APP_CPPFLAGS := -frtti -DCC_ENABLE_CHIPMUNK_INTEGRATION=1 -std=c++11 -fsigned-char
|
APP_CPPFLAGS := -frtti -DCC_ENABLE_CHIPMUNK_INTEGRATION=1 -DCC_ENABLE_BULLET_INTEGRATION=1 -std=c++11 -fsigned-char
|
||||||
APP_LDFLAGS := -latomic
|
APP_LDFLAGS := -latomic
|
||||||
|
|
||||||
ifeq ($(NDK_DEBUG),1)
|
ifeq ($(NDK_DEBUG),1)
|
||||||
|
|
|
@ -3,7 +3,7 @@ APP_STL := gnustl_static
|
||||||
# Uncomment this line to compile to armeabi-v7a, your application will run faster but support less devices
|
# Uncomment this line to compile to armeabi-v7a, your application will run faster but support less devices
|
||||||
#APP_ABI := armeabi-v7a
|
#APP_ABI := armeabi-v7a
|
||||||
|
|
||||||
APP_CPPFLAGS := -frtti -DCC_ENABLE_CHIPMUNK_INTEGRATION=1 -std=c++11 -fsigned-char
|
APP_CPPFLAGS := -frtti -DCC_ENABLE_CHIPMUNK_INTEGRATION=1 -DCC_ENABLE_BULLET_INTEGRATION=1 -std=c++11 -fsigned-char
|
||||||
APP_LDFLAGS := -latomic
|
APP_LDFLAGS := -latomic
|
||||||
|
|
||||||
ifeq ($(NDK_DEBUG),1)
|
ifeq ($(NDK_DEBUG),1)
|
||||||
|
|
Loading…
Reference in New Issue