diff options
| author | 2014-06-16 23:37:12 +0000 | |
|---|---|---|
| committer | 2014-06-16 22:13:20 +0000 | |
| commit | 0d28bb47d771a2ac99cec6e4a071a98d2cd705dd (patch) | |
| tree | 9498ed5f334444da66df25d34e47f6c9952eb5df /libs/hwui/Layer.cpp | |
| parent | 5e7ef9489f3247c02395202d88fb4fb425aa8412 (diff) | |
| parent | 4a473c7d9406a2d6f6792f0f48d933424740ec5c (diff) | |
Merge "Fix the texture ID reuse issue in HWUI."
Diffstat (limited to 'libs/hwui/Layer.cpp')
| -rw-r--r-- | libs/hwui/Layer.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/hwui/Layer.cpp b/libs/hwui/Layer.cpp index bd371a3bcef4..987bf03bb863 100644 --- a/libs/hwui/Layer.cpp +++ b/libs/hwui/Layer.cpp @@ -171,6 +171,7 @@ void Layer::deleteTexture() { } void Layer::clearTexture() { + caches.unbindTexture(texture.id); texture.id = 0; } |