summaryrefslogtreecommitdiff
path: root/tests/cppallocation/compute.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cppallocation/compute.cpp')
-rw-r--r--tests/cppallocation/compute.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cppallocation/compute.cpp b/tests/cppallocation/compute.cpp
index 5407e06d..b1d3d386 100644
--- a/tests/cppallocation/compute.cpp
+++ b/tests/cppallocation/compute.cpp
@@ -33,7 +33,7 @@ int main(int argc, char** argv)
sp<Allocation> ain = Allocation::createTyped(rs, t);
sp<Allocation> aout = Allocation::createTyped(rs, t);
- sp<ScriptC_multiply> sc = new ScriptC_multiply(rs, NULL, 0);
+ sp<ScriptC_multiply> sc = new ScriptC_multiply(rs);
uint32_t* buf = new uint32_t[numElems];
for (uint32_t ct=0; ct < numElems; ct++) {