summaryrefslogtreecommitdiff
path: root/rsAllocation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'rsAllocation.cpp')
-rw-r--r--rsAllocation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/rsAllocation.cpp b/rsAllocation.cpp
index 6b37e035..a7590042 100644
--- a/rsAllocation.cpp
+++ b/rsAllocation.cpp
@@ -780,7 +780,7 @@ void rsi_Allocation2DData(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t
a->data(rsc, xoff, yoff, lod, face, w, h, data, sizeBytes);
}
-void rsi_AllocationRead(Context *rsc, RsAllocation va, void *data) {
+void rsi_AllocationRead(Context *rsc, RsAllocation va, void *data, size_t data_length) {
Allocation *a = static_cast<Allocation *>(va);
a->read(data);
}