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:
commit
f12f15502a
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user