summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Jamie Gennis <jgennis@google.com> 2012-09-17 18:51:55 -0700
committer Android (Google) Code Review <android-gerrit@google.com> 2012-09-17 18:51:55 -0700
commitf0f56f32bba418ebb42381cd63ba5da36f6fa228 (patch)
treee6b1cd801e35f91a8d9f42fe47921f7f68001ca7
parentc8cff90d49b6eeaf0290c16517ff49df185dbdcd (diff)
parenta08cf6e3a4ee045608bc8991a779dedb4f281a3f (diff)
Merge "EGL: fix an extension string bug" into jb-mr1-dev
-rw-r--r--opengl/libs/EGL/egl_display.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/opengl/libs/EGL/egl_display.cpp b/opengl/libs/EGL/egl_display.cpp
index 371df43152..88a17d9eec 100644
--- a/opengl/libs/EGL/egl_display.cpp
+++ b/opengl/libs/EGL/egl_display.cpp
@@ -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.