Skip the EGLConfigChooser. Seems to choose a suboptimal mode on several phones.

We just have to live with no stencil in non-buffered. Play buffered.
This commit is contained in:
Henrik Rydgard committed 2013-12-07 15:20:11 +01:00
1 parent bc1ad342e7
commit 4e2212de40
1 file changed
+2 -2
@@ -311,9 +311,9 @@ public class NativeActivity extends Activity {
// if we specify that we want destination alpha in the config chooser, which we do.
// http://grokbase.com/t/gg/android-developers/11bj40jm4w/fall-back
mGLSurfaceView.getHolder().setFormat(PixelFormat.RGBX_8888);
// mGLSurfaceView.getHolder().setFormat(PixelFormat.RGBX_8888);
mGLSurfaceView.setEGLConfigChooser(new NativeEGLConfigChooser());
// mGLSurfaceView.setEGLConfigChooser(new NativeEGLConfigChooser());
nativeRenderer = new NativeRenderer(this);
mGLSurfaceView.setRenderer(nativeRenderer);