Merge "EGL: fix an extension string bug" into jb-mr1-dev

This commit is contained in:
Jamie Gennis 2012-09-17 18:51:55 -07:00 committed by Android (Google) Code Review
commit f0f56f32bb

View File

@ -293,6 +293,10 @@ EGLBoolean egl_display_t::terminate() {
mHibernation.setDisplayValid(false); 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 // Mark all objects remaining in the list as terminated, unless
// there are no reference to them, it which case, we're free to // there are no reference to them, it which case, we're free to
// delete them. // delete them.