Merge "Return EGL_FALSE early when eglInitialize() fails"

This commit is contained in:
Tom Hudson 2014-09-23 17:16:36 +00:00 committed by Android (Google) Code Review
commit 9fe0ef5680

View File

@ -171,6 +171,7 @@ EGLBoolean egl_display_t::initialize(EGLint *major, EGLint *minor) {
} else {
ALOGW("eglInitialize(%p) failed (%s)", idpy,
egl_tls_t::egl_strerror(cnx->egl.eglGetError()));
return EGL_FALSE;
}
}