OSDN Git Service

Return EGL_FALSE early when eglInitialize() fails
authorTom Hudson <tomhudson@google.com>
Tue, 23 Sep 2014 16:00:41 +0000 (12:00 -0400)
committerTom Hudson <tomhudson@google.com>
Tue, 23 Sep 2014 16:00:41 +0000 (12:00 -0400)
commite11b1a733cacd64b2ebebe9cd72caadaa52b3c32
tree2d2890ee7654bf42747c6dc8ebb11c953439c39e
parentb207e95b46061342465fe759edd5ebe5ae7fed53
Return EGL_FALSE early when eglInitialize() fails

In the Meta-EGL shim, eglInitialize() could fail but return EGL_TRUE,
writing into the version numbers; both of these behaviors contradict
the spec.

BUG=b/17486830
R=jessehall@google.com

Change-Id: I810bdbd701e222ac09ab8660ce9dfc0c0954c3d7
opengl/libs/EGL/egl_display.cpp