Chromium Code Reviews| 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..48c2727b219535d8007a437ea62d7d39c1260b5d 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)) { |
|
no sievers
2016/02/09 22:09:34
Can you do this in InitializeStaticGLBindingsEGL()
|
| + LOG(ERROR) << "eglBindApi failed with error " |
| + << GetLastEGLErrorString(); |
| + return false; |
| + } |
| + |
| + |
| context_ = eglCreateContext( |
| display_, |
| config_, |