mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
fixed the 4xMSAA crash on android
This commit is contained in:
1 parent
a747241619
commit
6615ad5dd6
1 file changed
+4
@@ -249,6 +249,10 @@ public class NativeActivity extends Activity {
|
||||
NativeApp.resized(size.x, size.y);
|
||||
|
||||
mGLSurfaceView = new NativeGLView(this);
|
||||
//setup the GLSurface and ask android for the correct
|
||||
//number of bits for r, g, b, a, depth and stencil components
|
||||
mGLSurfaceView.setEGLConfigChooser(8, 8, 8, 8, 16, 8);
|
||||
|
||||
nativeRenderer = new NativeRenderer(this);
|
||||
mGLSurfaceView.setRenderer(nativeRenderer);
|
||||
setContentView(mGLSurfaceView);
|
||||
|
||||
Reference in new issue
Block a user