summaryrefslogtreecommitdiffstats
path: root/libs/surfaceflinger/LayerOrientationAnimRotate.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libs/surfaceflinger/LayerOrientationAnimRotate.cpp')
-rw-r--r--libs/surfaceflinger/LayerOrientationAnimRotate.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/surfaceflinger/LayerOrientationAnimRotate.cpp b/libs/surfaceflinger/LayerOrientationAnimRotate.cpp
index a3bf014..dc6b632 100644
--- a/libs/surfaceflinger/LayerOrientationAnimRotate.cpp
+++ b/libs/surfaceflinger/LayerOrientationAnimRotate.cpp
@@ -68,10 +68,10 @@ LayerOrientationAnimRotate::LayerOrientationAnimRotate(
LayerOrientationAnimRotate::~LayerOrientationAnimRotate()
{
if (mTextureName != -1U) {
- LayerBase::deletedTextures.add(mTextureName);
+ glDeleteTextures(1, &mTextureName);
}
if (mTextureNameIn != -1U) {
- LayerBase::deletedTextures.add(mTextureNameIn);
+ glDeleteTextures(1, &mTextureNameIn);
}
}