summaryrefslogtreecommitdiff
path: root/samples/Compass/src
diff options
context:
space:
mode:
Diffstat (limited to 'samples/Compass/src')
-rw-r--r--samples/Compass/src/com/example/android/compass/CompassActivity.java10
1 files changed, 0 insertions, 10 deletions
diff --git a/samples/Compass/src/com/example/android/compass/CompassActivity.java b/samples/Compass/src/com/example/android/compass/CompassActivity.java
index c4b956675..74f3bc71d 100644
--- a/samples/Compass/src/com/example/android/compass/CompassActivity.java
+++ b/samples/Compass/src/com/example/android/compass/CompassActivity.java
@@ -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