commit | 81b0aa696ac954180caec6cb8cc1bb97440e03b5 | [log] [tgz] |
---|---|---|
author | Mathias Agopian <mathias@google.com> | Wed Apr 22 15:49:28 2009 -0700 |
committer | Mathias Agopian <mathias@google.com> | Fri Apr 24 16:31:11 2009 -0700 |
tree | af034e81f2becc4a2d70e0d821a4cb11efc0eb2b | |
parent | ef07dda442f210bc7a6b5fbdd4a0bed4e6d8ad50 [diff] [blame] |
get rid of an old hack to work around a bug around glDeleteTextures() in the adreno drivers
diff --git a/libs/surfaceflinger/LayerBuffer.cpp b/libs/surfaceflinger/LayerBuffer.cpp index 97d6f97..9339b87 100644 --- a/libs/surfaceflinger/LayerBuffer.cpp +++ b/libs/surfaceflinger/LayerBuffer.cpp
@@ -322,7 +322,7 @@ LayerBuffer::BufferSource::~BufferSource() { if (mTextureName != -1U) { - LayerBase::deletedTextures.add(mTextureName); + glDeleteTextures(1, &mTextureName); } }