diff options
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 |
commit | 550b79f4491909b0f223d8fb25155974f53b3f79 (patch) | |
tree | 9cd9235bdff13ba7d36a46ad83b3d1b4ca29a1be /libs/surfaceflinger/LayerBuffer.cpp | |
parent | cbc93ca8005d0a885d54b9a13c18ea07220feedf (diff) | |
download | frameworks_native-550b79f4491909b0f223d8fb25155974f53b3f79.zip frameworks_native-550b79f4491909b0f223d8fb25155974f53b3f79.tar.gz frameworks_native-550b79f4491909b0f223d8fb25155974f53b3f79.tar.bz2 |
get rid of an old hack to work around a bug around glDeleteTextures() in the adreno drivers
Diffstat (limited to 'libs/surfaceflinger/LayerBuffer.cpp')
-rw-r--r-- | libs/surfaceflinger/LayerBuffer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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(LayerBuffer& layer, LayerBuffer::BufferSource::~BufferSource() { if (mTextureName != -1U) { - LayerBase::deletedTextures.add(mTextureName); + glDeleteTextures(1, &mTextureName); } } |