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

Commit cf44095d authored by Steve Kondik's avatar Steve Kondik Committed by Gerrit Code Review
Browse files

Merge "Handling EGL_BAD_ALLOC egl error as return from swap" into ics

parents 6a0c7a68 f45f2994
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1125,6 +1125,7 @@ public class GLSurfaceView extends SurfaceView implements SurfaceHolder.Callback
                int error = mEgl.eglGetError();
                switch(error) {
                case EGL11.EGL_CONTEXT_LOST:
                case EGL10.EGL_BAD_ALLOC:
                    return false;
                case EGL10.EGL_BAD_NATIVE_WINDOW:
                    // The native window is bad, probably because the