diff options
author | Michael Weghorn <m.weghorn@posteo.de> | 2023-11-08 17:56:34 +0100 |
---|---|---|
committer | Michael Weghorn <m.weghorn@posteo.de> | 2023-11-09 07:55:53 +0100 |
commit | f4358578251e35f92115ece0998c132ca3b402de (patch) | |
tree | 1f2801b3ca54772a1dcb7affff24b8794f2709fd /android | |
parent | 46c0c489904b2037a3ce381be95998fd7f6cdefb (diff) |
android: Drop unused GLController#checkForLostContext
Change-Id: Ia9f313a1937d4d491b76e9e5d6e4689eeb20431b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159183
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'android')
-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; } |