am 8e7e5399: am f0f56f32: Merge "EGL: fix an extension string bug" into jb-mr1-dev

* commit '8e7e5399764c4ef44125c41b172a04dd1403d3a0':
  EGL: fix an extension string bug
This commit is contained in:
Jamie Gennis 2012-09-18 00:10:46 -07:00 committed by Android Git Automerger
commit 7d33bc5588
1 changed files with 4 additions and 0 deletions

View File

@ -293,6 +293,10 @@ EGLBoolean egl_display_t::terminate() {
mHibernation.setDisplayValid(false);
// Reset the extension string since it will be regenerated if we get
// reinitialized.
mExtensionString.setTo("");
// Mark all objects remaining in the list as terminated, unless
// there are no reference to them, it which case, we're free to
// delete them.