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

Commit 4d816485 authored by Romain Guy's avatar Romain Guy Committed by Android Git Automerger
Browse files

am ed1b6f4f: Really Trigger the log when EGL_NO_CONTEXT is returned by...

am ed1b6f4f: Really Trigger the log when EGL_NO_CONTEXT is returned by eglCreateContext Bug #7216919

* commit 'ed1b6f4f':
  Really Trigger the log when EGL_NO_CONTEXT is returned by eglCreateContext Bug #7216919
parents 37486c4a ed1b6f4f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -994,7 +994,7 @@ public abstract class HardwareRenderer {

            EGLContext context = egl.eglCreateContext(eglDisplay, eglConfig, EGL_NO_CONTEXT,
                    mGlVersion != 0 ? attribs : null);
            if (context == null) {
            if (context == null || context == EGL_NO_CONTEXT) {
                //noinspection ConstantConditions
                throw new IllegalStateException(
                        "Could not create an EGL context. eglCreateContext failed with error: " +