diff options
author | Jack Palevich <jackpal@google.com> | 2009-10-13 19:52:44 -0700 |
---|---|---|
committer | Jack Palevich <jackpal@google.com> | 2009-10-13 19:52:44 -0700 |
commit | b3558f3526fb2c2b34c17233bb49afc30ae052a0 (patch) | |
tree | 59512fa6071ea8f19c8da0acd2af596d5aeacc0c | |
parent | 28023911a4b572f0ca640e7a3e3f9a0dd6f535e9 (diff) | |
download | frameworks_base-b3558f3526fb2c2b34c17233bb49afc30ae052a0.zip frameworks_base-b3558f3526fb2c2b34c17233bb49afc30ae052a0.tar.gz frameworks_base-b3558f3526fb2c2b34c17233bb49afc30ae052a0.tar.bz2 |
Make our choice of surface explicit.
-rw-r--r-- | opengl/tests/gldual/src/com/android/gldual/GLDualActivity.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/opengl/tests/gldual/src/com/android/gldual/GLDualActivity.java b/opengl/tests/gldual/src/com/android/gldual/GLDualActivity.java index a4f25fa..9d88f64 100644 --- a/opengl/tests/gldual/src/com/android/gldual/GLDualActivity.java +++ b/opengl/tests/gldual/src/com/android/gldual/GLDualActivity.java @@ -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); |