GLConsumer: correct EGL_NO_DISPLAY to EGL_NO_CONTEXT

Change-Id: I4dcb57a0db9ee3c5222cd453c9213859384212b0
This commit is contained in:
Jesse Hall 2014-08-06 12:15:15 -07:00
parent 41088d9e9f
commit 46a1f6b40e

View File

@ -505,7 +505,7 @@ status_t GLConsumer::checkAndUpdateEglStateLocked(bool contextCheck) {
if (mEglDisplay == EGL_NO_DISPLAY) { if (mEglDisplay == EGL_NO_DISPLAY) {
mEglDisplay = dpy; mEglDisplay = dpy;
} }
if (mEglContext == EGL_NO_DISPLAY) { if (mEglContext == EGL_NO_CONTEXT) {
mEglContext = ctx; mEglContext = ctx;
} }
} }