summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rsAllocation.cpp2
-rw-r--r--rsAllocation.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/rsAllocation.cpp b/rsAllocation.cpp
index 9b83ebba..821ee683 100644
--- a/rsAllocation.cpp
+++ b/rsAllocation.cpp
@@ -493,7 +493,7 @@ void Allocation::resize2D(Context *rsc, uint32_t dimX, uint32_t dimY) {
}
#ifndef RS_COMPATIBILITY_LIB
-void Allocation::NewBufferListener::onFrameAvailable() {
+void Allocation::NewBufferListener::onFrameAvailable(const BufferItem& /* item */) {
intptr_t ip = (intptr_t)alloc;
rsc->sendMessageToClient(&ip, RS_MESSAGE_TO_CLIENT_NEW_BUFFER, 0, sizeof(ip), true);
}
diff --git a/rsAllocation.h b/rsAllocation.h
index e9e0ee9a..2dc4a0ed 100644
--- a/rsAllocation.h
+++ b/rsAllocation.h
@@ -185,7 +185,7 @@ protected:
const android::renderscript::Context *rsc;
const android::renderscript::Allocation *alloc;
- virtual void onFrameAvailable();
+ virtual void onFrameAvailable(const BufferItem& item);
};
sp<NewBufferListener> mBufferListener;