diff options
| author | 2013-06-07 00:07:05 +0000 | |
|---|---|---|
| committer | 2013-06-07 00:07:05 +0000 | |
| commit | 241ef0cc4271bc3f6cf462bfc442d52cd2286f00 (patch) | |
| tree | 36bf50894cc8bd08a0d738a2473ad4d7d05461c1 /libs/hwui/Dither.cpp | |
| parent | 494cb689d09a82025b9d892241e62aa149ce3239 (diff) | |
| parent | be1b127c7bec252e0c6ab0e06ed6babed07d496f (diff) | |
Merge "Assume a texture is unbound after deleting it Bug #9316260"
Diffstat (limited to 'libs/hwui/Dither.cpp')
| -rw-r--r-- | libs/hwui/Dither.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/Dither.cpp b/libs/hwui/Dither.cpp index 4dc85e068133..649a7bc5d0b6 100644 --- a/libs/hwui/Dither.cpp +++ b/libs/hwui/Dither.cpp @@ -77,7 +77,7 @@ void Dither::bindDitherTexture() { void Dither::clear() { if (mInitialized) { - glDeleteTextures(1, &mDitherTexture); + mCaches->deleteTexture(mDitherTexture); mInitialized = false; } } |