| Index: ui/gl/gl_context_egl.cc
|
| diff --git a/ui/gl/gl_context_egl.cc b/ui/gl/gl_context_egl.cc
|
| index 620649e982dcfd230f85732e26b3cf840baedbd9..fd9c02907129ebe209d557e81c64866817b70b80 100644
|
| --- a/ui/gl/gl_context_egl.cc
|
| +++ b/ui/gl/gl_context_egl.cc
|
| @@ -133,6 +133,9 @@ void GLContextEGL::ReleaseCurrent(GLSurface* surface) {
|
| if (!IsCurrent(surface))
|
| return;
|
|
|
| + if (unbind_fbo_on_makecurrent_)
|
| + glBindFramebufferEXT(GL_FRAMEBUFFER, 0);
|
| +
|
| SetCurrent(NULL, NULL);
|
| eglMakeCurrent(display_,
|
| EGL_NO_SURFACE,
|
|
|