diff options
author | Jesse Hall <jessehall@google.com> | 2014-08-06 12:15:15 -0700 |
---|---|---|
committer | Jesse Hall <jessehall@google.com> | 2014-10-29 17:15:09 +0000 |
commit | 1834f8ea975e9a882b44dc479320fe02e306e630 (patch) | |
tree | 150d2f540f81a325e9ad29eff91b4b5a98a7c35c | |
parent | 1f3efb11ff8c884a254f4272f0d1ee0b77ceff2f (diff) | |
download | frameworks_native-1834f8ea975e9a882b44dc479320fe02e306e630.zip frameworks_native-1834f8ea975e9a882b44dc479320fe02e306e630.tar.gz frameworks_native-1834f8ea975e9a882b44dc479320fe02e306e630.tar.bz2 |
GLConsumer: correct EGL_NO_DISPLAY to EGL_NO_CONTEXT
Change-Id: I4dcb57a0db9ee3c5222cd453c9213859384212b0
(cherry picked from commit 46a1f6b40e1f7677cd41cd30f729ff66c7c21517)
-rw-r--r-- | libs/gui/GLConsumer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/gui/GLConsumer.cpp b/libs/gui/GLConsumer.cpp index cc96a92..318c087 100644 --- a/libs/gui/GLConsumer.cpp +++ b/libs/gui/GLConsumer.cpp @@ -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; } } |