only use _backToForeGroundListner when on Android

This commit is contained in:
Huabing.Xu 2014-05-30 10:56:03 +08:00
parent 41d19007eb
commit 95b6fb52de
1 changed files with 2 additions and 2 deletions

View File

@ -98,9 +98,9 @@ protected:
Vec3 _outlineColor; Vec3 _outlineColor;
float _outlineWidth; float _outlineWidth;
EffectSprite3D* _sprite; EffectSprite3D* _sprite;
//#if (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID) #if (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID)
EventListenerCustom* _backToForeGroundLister; EventListenerCustom* _backToForeGroundLister;
//#endif #endif
protected: protected:
static const std::string _vertShaderFile; static const std::string _vertShaderFile;