am a5bfe52d: Merge change Ib3558f35 into eclair-mr2

Merge commit 'a5bfe52d9efb4d78edc48a64c2e85f8c4ecd4876' into eclair-mr2-plus-aosp

* commit 'a5bfe52d9efb4d78edc48a64c2e85f8c4ecd4876':
  Make our choice of surface explicit.
This commit is contained in:
Jack Palevich
2009-10-13 20:00:58 -07:00
committed by Android Git Automerger

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);