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 | 81b0aa696ac954180caec6cb8cc1bb97440e03b5 (patch) | |
tree | af034e81f2becc4a2d70e0d821a4cb11efc0eb2b /libs/surfaceflinger/LayerBlur.cpp | |
parent | ef07dda442f210bc7a6b5fbdd4a0bed4e6d8ad50 (diff) | |
download | frameworks_base-81b0aa696ac954180caec6cb8cc1bb97440e03b5.zip frameworks_base-81b0aa696ac954180caec6cb8cc1bb97440e03b5.tar.gz frameworks_base-81b0aa696ac954180caec6cb8cc1bb97440e03b5.tar.bz2 |
get rid of an old hack to work around a bug around glDeleteTextures() in the adreno drivers
Diffstat (limited to 'libs/surfaceflinger/LayerBlur.cpp')
-rw-r--r-- | libs/surfaceflinger/LayerBlur.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libs/surfaceflinger/LayerBlur.cpp b/libs/surfaceflinger/LayerBlur.cpp index 54d5c52..cac3cf1 100644 --- a/libs/surfaceflinger/LayerBlur.cpp +++ b/libs/surfaceflinger/LayerBlur.cpp @@ -47,8 +47,7 @@ LayerBlur::LayerBlur(SurfaceFlinger* flinger, DisplayID display, LayerBlur::~LayerBlur() { if (mTextureName != -1U) { - //glDeleteTextures(1, &mTextureName); - deletedTextures.add(mTextureName); + glDeleteTextures(1, &mTextureName); } } |