Merge pull request #144 from bollu/master

fixed the 4xMSAA crash on android
This commit is contained in:
Henrik Rydgård committed 2013-10-01 04:00:27 -07:00
commit 676844413d
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);