summaryrefslogtreecommitdiff
path: root/libs/surfaceflinger/LayerOrientationAnimRotate.cpp
diff options
context:
space:
mode:
author Mathias Agopian <mathias@google.com> 2009-04-22 15:49:28 -0700
committer Mathias Agopian <mathias@google.com> 2009-04-24 16:31:11 -0700
commit81b0aa696ac954180caec6cb8cc1bb97440e03b5 (patch)
treeaf034e81f2becc4a2d70e0d821a4cb11efc0eb2b /libs/surfaceflinger/LayerOrientationAnimRotate.cpp
parentef07dda442f210bc7a6b5fbdd4a0bed4e6d8ad50 (diff)
get rid of an old hack to work around a bug around glDeleteTextures() in the adreno drivers
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 a3bf0149c0e3..dc6b632a694d 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);
}
}