From d7a5c464ddc4c69b28734683fe1c7815df63ad41 Mon Sep 17 00:00:00 2001 From: "Huabing.Xu" Date: Fri, 26 Sep 2014 16:37:05 +0800 Subject: [PATCH] remove test code --- .../android/java/src/org/cocos2dx/lib/Cocos2dxActivity.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/cocos/platform/android/java/src/org/cocos2dx/lib/Cocos2dxActivity.java b/cocos/platform/android/java/src/org/cocos2dx/lib/Cocos2dxActivity.java index 4984897d8e..19d45322ce 100644 --- a/cocos/platform/android/java/src/org/cocos2dx/lib/Cocos2dxActivity.java +++ b/cocos/platform/android/java/src/org/cocos2dx/lib/Cocos2dxActivity.java @@ -221,8 +221,6 @@ public abstract class Cocos2dxActivity extends Activity implements Cocos2dxHelpe public Cocos2dxGLSurfaceView onCreateView() { Cocos2dxGLSurfaceView glSurfaceView = new Cocos2dxGLSurfaceView(this); - this.glContextAttrs[3] = 0; - this.glContextAttrs[4] = 100; //this line is need on some device if we specify an alpha bits if(this.glContextAttrs[3] > 0) glSurfaceView.getHolder().setFormat(PixelFormat.TRANSLUCENT);