| Index: gpu/gles2_conform_support/egl/egl.cc
|
| diff --git a/gpu/gles2_conform_support/egl/egl.cc b/gpu/gles2_conform_support/egl/egl.cc
|
| index b439b1eb09866e2b6623837f8d349b909f02c9ef..d9899e08c64769536bd450a226b943176f65dd8c 100644
|
| --- a/gpu/gles2_conform_support/egl/egl.cc
|
| +++ b/gpu/gles2_conform_support/egl/egl.cc
|
| @@ -148,6 +148,11 @@ EGLAPI EGLBoolean EGLAPIENTRY eglTerminate(EGLDisplay dpy) {
|
| egl::Display* display = static_cast<egl::Display*>(dpy);
|
| delete display;
|
|
|
| + // TODO: EGL specifies that the objects are marked for deletion and they will
|
| + // remain alive as long as "contexts or surfaces associated with display is
|
| + // current to any thread".
|
| + // Currently we delete the display here, and may also call exit handlers.
|
| +
|
| return EglSuccess(EGL_TRUE);
|
| }
|
|
|
|
|