summaryrefslogtreecommitdiffstats
path: root/libs/hwui/Dither.cpp
diff options
context:
space:
mode:
authorRomain Guy <romainguy@google.com>2013-04-12 16:51:21 -0700
committerRomain Guy <romainguy@google.com>2013-04-12 16:51:21 -0700
commit4abab937bf3f168763a7c029275bf1de151ec1ae (patch)
treead9b7b4bcb37af8d4c91d332a38b4339fa770923 /libs/hwui/Dither.cpp
parent95aeff8f11968c8b29ae114bb5e1172c70cf7634 (diff)
downloadframeworks_base-4abab937bf3f168763a7c029275bf1de151ec1ae.zip
frameworks_base-4abab937bf3f168763a7c029275bf1de151ec1ae.tar.gz
frameworks_base-4abab937bf3f168763a7c029275bf1de151ec1ae.tar.bz2
There should be a mandatory coder's license.
Bug #8586560 And I don't deserve to pass the test. Change-Id: Ic7886205511f16145a925fc860e4a03dfaf473d5
Diffstat (limited to 'libs/hwui/Dither.cpp')
-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 51f1e39..19b3849 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;
}
}