We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0942895 commit 0cbaec9Copy full SHA for 0cbaec9
cocos/platform/android/java/src/org/cocos2dx/lib/Cocos2dxActivity.java
@@ -300,7 +300,8 @@ public void init() {
300
public Cocos2dxGLSurfaceView onCreateView() {
301
Cocos2dxGLSurfaceView glSurfaceView = new Cocos2dxGLSurfaceView(this);
302
//this line is need on some device if we specify an alpha bits
303
- if(this.mGLContextAttrs[3] > 0) glSurfaceView.getHolder().setFormat(PixelFormat.TRANSLUCENT);
+ // FIXME: is it needed? And it will cause afterimage.
304
+ // if(this.mGLContextAttrs[3] > 0) glSurfaceView.getHolder().setFormat(PixelFormat.TRANSLUCENT);
305
306
// use custom EGLConfigureChooser
307
Cocos2dxEGLConfigChooser chooser = new Cocos2dxEGLConfigChooser(this.mGLContextAttrs);
0 commit comments