summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Romain Guy <romainguy@google.com> 2013-04-12 16:51:21 -0700
committer Romain Guy <romainguy@google.com> 2013-04-12 16:51:21 -0700
commit4abab937bf3f168763a7c029275bf1de151ec1ae (patch)
treead9b7b4bcb37af8d4c91d332a38b4339fa770923
parent95aeff8f11968c8b29ae114bb5e1172c70cf7634 (diff)
There should be a mandatory coder's license.
Bug #8586560 And I don't deserve to pass the test. Change-Id: Ic7886205511f16145a925fc860e4a03dfaf473d5
-rw-r--r--libs/hwui/Dither.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/hwui/Dither.cpp b/libs/hwui/Dither.cpp
index 51f1e39c1501..19b384962459 100644
--- a/libs/hwui/Dither.cpp
+++ b/libs/hwui/Dither.cpp
@@ -75,6 +75,7 @@ void Dither::bindDitherTexture() {
void Dither::clear() {
if (mInitialized) {
glDeleteTextures(1, &mDitherTexture);
+ mInitialized = false;
}
}