Automated import from //branches/master/...@142658,142658

This commit is contained in:
Jack Palevich
2009-03-25 15:16:49 -07:00
committed by The Android Open Source Project
parent 670bde6ff0
commit 84040fdc35
5 changed files with 5 additions and 29 deletions

View File

@@ -89,16 +89,6 @@ public class CompassActivity extends Activity implements Renderer, SensorEventLi
mSensorManager.unregisterListener(this);
}
public int[] getConfigSpec() {
// We want a depth buffer, don't care about the
// details of the color buffer.
int[] configSpec = {
EGL10.EGL_DEPTH_SIZE, 16,
EGL10.EGL_NONE
};
return configSpec;
}
public void onDrawFrame(GL10 gl) {
/*
* Usually, the first thing one might want to do is to clear