summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/WebCore/platform/graphics/android/SharedTexture.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/WebCore/platform/graphics/android/SharedTexture.cpp b/Source/WebCore/platform/graphics/android/SharedTexture.cpp
index cbe44da..4f52107 100644
--- a/Source/WebCore/platform/graphics/android/SharedTexture.cpp
+++ b/Source/WebCore/platform/graphics/android/SharedTexture.cpp
@@ -78,6 +78,7 @@ SharedTexture::~SharedTexture()
else if (m_sharedTextureMode == SurfaceTextureMode) {
m_sourceTexture->m_surfaceTexture.clear();
m_sourceTexture->m_ANW.clear();
+ GLUtils::deleteTexture(&m_sourceTexture->m_textureId);
}
delete m_sourceTexture;
delete m_targetTexture;