summaryrefslogtreecommitdiff
path: root/rsScript.cpp
diff options
context:
space:
mode:
authorStephen Hines <srhines@google.com>2012-02-21 20:13:12 -0800
committerStephen Hines <srhines@google.com>2012-02-22 15:24:29 -0800
commit4419977d78018a9933c7f455fe001f644f2d638b (patch)
tree59d68f239481e980e6b2dc52fc1cb7e3ef3dfe49 /rsScript.cpp
parent254305944bf430eae672507546df368e97d50759 (diff)
Support running ForEach on non-root functions.
BUG=6000538 Change-Id: Ie2b16893b150cc5955ee4b9d028c988f69a82744
Diffstat (limited to 'rsScript.cpp')
-rw-r--r--rsScript.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/rsScript.cpp b/rsScript.cpp
index 357dbe32..6a3bd4bf 100644
--- a/rsScript.cpp
+++ b/rsScript.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2009 The Android Open Source Project
+ * Copyright (C) 2009-2012 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -113,7 +113,7 @@ void rsi_ScriptForEach(Context *rsc, RsScript vs, uint32_t slot,
RsAllocation vain, RsAllocation vaout,
const void *params, size_t paramLen) {
Script *s = static_cast<Script *>(vs);
- s->runForEach(rsc,
+ s->runForEach(rsc, slot,
static_cast<const Allocation *>(vain), static_cast<Allocation *>(vaout),
params, paramLen);