GLConsumer: correct EGL_NO_DISPLAY to EGL_NO_CONTEXT
Change-Id: I4dcb57a0db9ee3c5222cd453c9213859384212b0
This commit is contained in:
parent
41088d9e9f
commit
46a1f6b40e
@ -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