Merge change Ib3558f35 into eclair-mr2

* changes:
  Make our choice of surface explicit.
This commit is contained in:
Android (Google) Code Review
2009-10-13 22:54:58 -04:00

View File

@@ -33,6 +33,7 @@ public class GLDualActivity extends Activity {
super.onCreate(icicle);
View root = getLayoutInflater().inflate(R.layout.gldual_activity, null);
mGLView = (GLSurfaceView) root.findViewById(R.id.gl1);
mGLView.setEGLConfigChooser(5,6,5,0,0,0);
mGLView.setRenderer(new TriangleRenderer());
mGL2View = (GLDualGL2View) root.findViewById(R.id.gl2);
setContentView(root);