diff options
author | 2012-02-21 20:13:12 -0800 | |
---|---|---|
committer | 2012-02-22 15:24:29 -0800 | |
commit | 473a2048d3c54fe38b6f9a58457645c9c472b238 (patch) | |
tree | 04cff2992886e0352f4ffd7a60086f52dd0847bc /libs/rs/rsScript.cpp | |
parent | 408ff24bacf432ef26ba78ad2b8273a284798de1 (diff) |
Support running ForEach on non-root functions.
BUG=6000538
Change-Id: Ie2b16893b150cc5955ee4b9d028c988f69a82744
Diffstat (limited to 'libs/rs/rsScript.cpp')
-rw-r--r-- | libs/rs/rsScript.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/rs/rsScript.cpp b/libs/rs/rsScript.cpp index 357dbe32e18e..6a3bd4bf7a08 100644 --- a/libs/rs/rsScript.cpp +++ b/libs/rs/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); |