mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-11 13:36:24 +02:00
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:
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);
|
||||
|
||||
Reference in new issue
Block a user