| Index: ui/gl/gl_context_egl.cc
|
| diff --git a/ui/gl/gl_context_egl.cc b/ui/gl/gl_context_egl.cc
|
| index 8a9e4e4cb2ff7828dd9d5f595a8c48412be5dc1c..569c2cca118d19b49ed9a38b1db1358b09c61001 100644
|
| --- a/ui/gl/gl_context_egl.cc
|
| +++ b/ui/gl/gl_context_egl.cc
|
| @@ -70,6 +70,13 @@ bool GLContextEGL::Initialize(
|
| context_attributes = kContextAttributes;
|
| }
|
|
|
| + if (!eglBindAPI(EGL_OPENGL_ES_API)) {
|
| + LOG(ERROR) << "eglBindApi failed with error "
|
| + << GetLastEGLErrorString();
|
| + return false;
|
| + }
|
| +
|
| +
|
| context_ = eglCreateContext(
|
| display_,
|
| config_,
|
|
|