From 4abab937bf3f168763a7c029275bf1de151ec1ae Mon Sep 17 00:00:00 2001 From: Romain Guy Date: Fri, 12 Apr 2013 16:51:21 -0700 Subject: [PATCH] There should be a mandatory coder's license. Bug #8586560 And I don't deserve to pass the test. Change-Id: Ic7886205511f16145a925fc860e4a03dfaf473d5 --- libs/hwui/Dither.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/hwui/Dither.cpp b/libs/hwui/Dither.cpp index 51f1e39c15010..19b3849624591 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; } }