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

Commit 1834f8ea authored by Jesse Hall's avatar Jesse Hall
Browse files

GLConsumer: correct EGL_NO_DISPLAY to EGL_NO_CONTEXT

Change-Id: I4dcb57a0db9ee3c5222cd453c9213859384212b0
(cherry picked from commit 46a1f6b4)
parent 1f3efb11
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -505,7 +505,7 @@ status_t GLConsumer::checkAndUpdateEglStateLocked(bool contextCheck) {
        if (mEglDisplay == EGL_NO_DISPLAY) {
            mEglDisplay = dpy;
        }
        if (mEglContext == EGL_NO_DISPLAY) {
        if (mEglContext == EGL_NO_CONTEXT) {
            mEglContext = ctx;
        }
    }