am 1834f8ea: GLConsumer: correct EGL_NO_DISPLAY to EGL_NO_CONTEXT

* commit '1834f8ea975e9a882b44dc479320fe02e306e630':
  GLConsumer: correct EGL_NO_DISPLAY to EGL_NO_CONTEXT
This commit is contained in:
Jesse Hall 2014-10-30 20:58:43 +00:00 committed by Android Git Automerger
commit f12f15502a

View File

@ -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;
}
}