Merge "Return EGL_FALSE early when eglInitialize() fails"
This commit is contained in:
commit
9fe0ef5680
@ -171,6 +171,7 @@ EGLBoolean egl_display_t::initialize(EGLint *major, EGLint *minor) {
|
|||||||
} else {
|
} else {
|
||||||
ALOGW("eglInitialize(%p) failed (%s)", idpy,
|
ALOGW("eglInitialize(%p) failed (%s)", idpy,
|
||||||
egl_tls_t::egl_strerror(cnx->egl.eglGetError()));
|
egl_tls_t::egl_strerror(cnx->egl.eglGetError()));
|
||||||
|
return EGL_FALSE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user