mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-26 23:10:38 +00:00
Revert "Android EGL config: Always require 8888, stencil if version >= ICS"
This reverts commit 015c314fb1
.
Helps #11922
This commit is contained in:
parent
7db5471d80
commit
dd1de41db7
@ -557,10 +557,13 @@ public abstract class NativeActivity extends Activity implements SurfaceHolder.C
|
||||
mGLSurfaceView.setEGLConfigChooser(new NativeEGLConfigChooser());
|
||||
} else {
|
||||
// Tried to mess around with config choosers (NativeEGLConfigChooser) here but fail completely on Xperia Play.
|
||||
// On the other hand, I think from ICS we should be safe to at least require 8888 and stencil...
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.ICE_CREAM_SANDWICH && !Build.MANUFACTURER.equals("Amazon")) {
|
||||
mGLSurfaceView.setEGLConfigChooser(8, 8, 8, 8, 16, 8);
|
||||
}
|
||||
|
||||
// Then I tried to require 8888/16/8 but that backfired too, does not work on Mali 450 which is
|
||||
// used in popular TVs and boxes like Mi Box. So we'll just get what we get, I guess...
|
||||
|
||||
// if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.ICE_CREAM_SANDWICH && !Build.MANUFACTURER.equals("Amazon")) {
|
||||
// mGLSurfaceView.setEGLConfigChooser(8, 8, 8, 8, 16, 8);
|
||||
// }
|
||||
}
|
||||
mGLSurfaceView.setRenderer(nativeRenderer);
|
||||
setContentView(mGLSurfaceView);
|
||||
|
Loading…
Reference in New Issue
Block a user