diff options
author | 2009-04-22 15:49:28 -0700 | |
---|---|---|
committer | 2009-04-24 16:31:11 -0700 | |
commit | 81b0aa696ac954180caec6cb8cc1bb97440e03b5 (patch) | |
tree | af034e81f2becc4a2d70e0d821a4cb11efc0eb2b /libs/surfaceflinger/Layer.cpp | |
parent | ef07dda442f210bc7a6b5fbdd4a0bed4e6d8ad50 (diff) |
get rid of an old hack to work around a bug around glDeleteTextures() in the adreno drivers
Diffstat (limited to 'libs/surfaceflinger/Layer.cpp')
-rw-r--r-- | libs/surfaceflinger/Layer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/surfaceflinger/Layer.cpp b/libs/surfaceflinger/Layer.cpp index 4e3f3a9b8435..182fbb2b153a 100644 --- a/libs/surfaceflinger/Layer.cpp +++ b/libs/surfaceflinger/Layer.cpp @@ -71,7 +71,7 @@ void Layer::destroy() if (mTextures[i].name != -1U) { // FIXME: this was originally to work-around a bug in the // adreno driver. this should be fixed now. - deletedTextures.add(mTextures[i].name); + glDeleteTextures(1, &mTextures[i].name); mTextures[i].name = -1U; } if (mTextures[i].image != EGL_NO_IMAGE_KHR) { |