Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4333de2a authored by Jerry J. Wang's avatar Jerry J. Wang Committed by Android Git Automerger
Browse files

am a5342f1a: am 850aaaef: Merge "Don\'t throw exception for...

am a5342f1a: am 850aaaef: Merge "Don\'t throw exception for EGL_BAD_CURRENT_SURFACE (DO NOT MERGE)" into honeycomb-mr2

* commit 'a5342f1a':
  Don't throw exception for EGL_BAD_CURRENT_SURFACE (DO NOT MERGE)
parents d65fab3d a5342f1a
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1096,6 +1096,10 @@ public class GLSurfaceView extends SurfaceView implements SurfaceHolder.Callback
                    // on the expectation that the application will be closed soon.
                    Log.e("EglHelper", "eglSwapBuffers returned EGL_BAD_NATIVE_WINDOW. tid=" + Thread.currentThread().getId());
                    break;
                case EGL10.EGL_BAD_CURRENT_SURFACE:
                    // The window was presumably closed by the window manager.
                    Log.e("EglHelper", "eglSwapBuffers returned EGL_BAD_CURRENT_SURFACE");
                    break;
                default:
                    throwEglException("eglSwapBuffers", error);
                }