diff options
author | John Reck <jreck@google.com> | 2016-09-02 10:14:39 -0700 |
---|---|---|
committer | John Reck <jreck@google.com> | 2016-09-02 10:14:39 -0700 |
commit | 3053ac7f12a36b9db09ffc7219b798eaa24b891a (patch) | |
tree | d6b8c0487bd28ec937e418fb7a3d05ea1e16758d /libs/hwui/renderthread/OpenGLPipeline.cpp | |
parent | 64dd8f3c59b38c7075e0900635a4ae3effea5059 (diff) |
Fix texture leak
Bug: 31251593
Change-Id: Ic86729eb6089239134213588d80459d14227ade6
Diffstat (limited to 'libs/hwui/renderthread/OpenGLPipeline.cpp')
-rw-r--r-- | libs/hwui/renderthread/OpenGLPipeline.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libs/hwui/renderthread/OpenGLPipeline.cpp b/libs/hwui/renderthread/OpenGLPipeline.cpp index 36be387d3925..c8971f828a53 100644 --- a/libs/hwui/renderthread/OpenGLPipeline.cpp +++ b/libs/hwui/renderthread/OpenGLPipeline.cpp @@ -163,10 +163,6 @@ bool OpenGLPipeline::isContextReady() { } void OpenGLPipeline::onDestroyHardwareResources() { - Caches& caches = Caches::getInstance(); - // Make sure to release all the textures we were owning as there won't - // be another draw - caches.textureCache.resetMarkInUse(this); mRenderThread.renderState().flush(Caches::FlushMode::Layers); } |