remove test code

This commit is contained in:
Huabing.Xu 2014-09-26 16:37:05 +08:00
parent 7cfcdc1af8
commit d7a5c464dd
1 changed files with 0 additions and 2 deletions

View File

@ -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);