GLConsumer: correct EGL_NO_DISPLAY to EGL_NO_CONTEXT
Change-Id: I4dcb57a0db9ee3c5222cd453c9213859384212b0
(cherry picked from commit 46a1f6b40e
)
This commit is contained in:
parent
1f3efb11ff
commit
1834f8ea97
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user