summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJamie Gennis <jgennis@google.com>2012-08-20 11:30:44 -0700
committerJamie Gennis <jgennis@google.com>2012-08-20 11:30:44 -0700
commitf8d33c652b930abbfb0722f3a2928cbc2ea71078 (patch)
tree0e9e364438f492dc2cb1c2968d7fbc0958f99440 /include
parent2c7eb92b6394427bfe81962668d46194959bc722 (diff)
downloadframeworks_native-f8d33c652b930abbfb0722f3a2928cbc2ea71078.zip
frameworks_native-f8d33c652b930abbfb0722f3a2928cbc2ea71078.tar.gz
frameworks_native-f8d33c652b930abbfb0722f3a2928cbc2ea71078.tar.bz2
SurfaceTexture: call ConsumerBase::freeBufferLocked
This change fixes SurfaceTexture::freeBufferLocked so that it calls the base class implementation. Change-Id: I45d76fb2eb02c1fa6e4e917823ead83e2086bd15
Diffstat (limited to 'include')
-rw-r--r--include/gui/SurfaceTexture.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/gui/SurfaceTexture.h b/include/gui/SurfaceTexture.h
index 0a83ce6..98741c5 100644
--- a/include/gui/SurfaceTexture.h
+++ b/include/gui/SurfaceTexture.h
@@ -248,7 +248,7 @@ private:
// slot and destroy the EGLImage in that slot. Otherwise it has no effect.
//
// This method must be called with mMutex locked.
- void freeBufferLocked(int slotIndex);
+ virtual void freeBufferLocked(int slotIndex);
// computeCurrentTransformMatrix computes the transform matrix for the
// current texture. It uses mCurrentTransform and the current GraphicBuffer