diff options
Diffstat (limited to 'libs/hwui/Texture.cpp')
-rw-r--r-- | libs/hwui/Texture.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/hwui/Texture.cpp b/libs/hwui/Texture.cpp index e06227cad76b..7923ce794e0f 100644 --- a/libs/hwui/Texture.cpp +++ b/libs/hwui/Texture.cpp @@ -76,5 +76,9 @@ void Texture::setFilterMinMag(GLenum min, GLenum mag, bool bindTexture, bool for } } +void Texture::deleteTexture() const { + mCaches.deleteTexture(id); +} + }; // namespace uirenderer }; // namespace android |