diff options
Diffstat (limited to 'libs/hwui/Layer.cpp')
-rw-r--r-- | libs/hwui/Layer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/Layer.cpp b/libs/hwui/Layer.cpp index 60c38bab7e50..134f452aa4d1 100644 --- a/libs/hwui/Layer.cpp +++ b/libs/hwui/Layer.cpp @@ -167,7 +167,7 @@ void Layer::generateTexture() { void Layer::deleteTexture() { if (texture.id) { - glDeleteTextures(1, &texture.id); + texture.deleteTexture(); texture.id = 0; } } |