diff options
Diffstat (limited to 'android/source/src/java')
-rw-r--r-- | android/source/src/java/org/mozilla/gecko/gfx/GLController.java | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/android/source/src/java/org/mozilla/gecko/gfx/GLController.java b/android/source/src/java/org/mozilla/gecko/gfx/GLController.java index d31d84a51da9..45600e9f1e7c 100644 --- a/android/source/src/java/org/mozilla/gecko/gfx/GLController.java +++ b/android/source/src/java/org/mozilla/gecko/gfx/GLController.java @@ -99,17 +99,6 @@ public class GLController { return mEGL.eglSwapBuffers(mEGLDisplay, mEGLSurface); } - public boolean checkForLostContext() { - if (mEGL.eglGetError() != EGL11.EGL_CONTEXT_LOST) { - return false; - } - - mEGLDisplay = null; - mEGLConfig = null; - mEGLContext = null; - mEGLSurface = null; - return true; - } public synchronized int getWidth() { return mWidth; } |