From 95b6fb52dee6e2a84eedf6f040a044456ba6b628 Mon Sep 17 00:00:00 2001 From: "Huabing.Xu" Date: Fri, 30 May 2014 10:56:03 +0800 Subject: [PATCH] only use _backToForeGroundListner when on Android --- tests/cpp-tests/Classes/Sprite3DTest/Sprite3DTest.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/cpp-tests/Classes/Sprite3DTest/Sprite3DTest.h b/tests/cpp-tests/Classes/Sprite3DTest/Sprite3DTest.h index 545dd261f1..579c515384 100644 --- a/tests/cpp-tests/Classes/Sprite3DTest/Sprite3DTest.h +++ b/tests/cpp-tests/Classes/Sprite3DTest/Sprite3DTest.h @@ -98,9 +98,9 @@ protected: Vec3 _outlineColor; float _outlineWidth; EffectSprite3D* _sprite; -//#if (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID) +#if (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID) EventListenerCustom* _backToForeGroundLister; -//#endif +#endif protected: static const std::string _vertShaderFile;