diff options
| author | 2014-06-17 01:31:21 +0000 | |
|---|---|---|
| committer | 2014-06-17 01:31:21 +0000 | |
| commit | 0732ba5756296f1ae3da48a39e4d498aba366386 (patch) | |
| tree | c0b4ab3461d2ac90ebfa51a0b1519880bc23f06f /libs/hwui/Layer.cpp | |
| parent | 11a8d4f8b99549262bcc9b64efe8ca21801c8f91 (diff) | |
| parent | 88b1c9ad87ca6d6faaf824bff4ee9d3c799362e5 (diff) | |
am 88b1c9ad: am e709d53f: am 0d28bb47: Merge "Fix the texture ID reuse issue in HWUI."
* commit '88b1c9ad87ca6d6faaf824bff4ee9d3c799362e5':
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 6a2ef2a8f4d1..1002e1374e32 100644 --- a/libs/hwui/Layer.cpp +++ b/libs/hwui/Layer.cpp @@ -185,6 +185,7 @@ void Layer::deleteTexture() { } void Layer::clearTexture() { + caches.unbindTexture(texture.id); texture.id = 0; } |