commit | 20221920f6cff982f223e12d0d87cad1703664c4 | [log] [tgz] |
---|---|---|
author | Yang Ni <yangni@google.com> | Wed Mar 16 15:19:24 2016 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Wed Mar 16 15:19:24 2016 +0000 |
tree | 141189e33901ff5d606c5502d6e6e5c37a449f43 | |
parent | 0dbc3f9632997a0cb8eee4fdc39cc295dd47816f [diff] | |
parent | e8f2e445fdb138416043a16659bbf86fbbd3fff8 [diff] |
Merge "Use proper ScriptCall size in nScriptForEach()"
diff --git a/rs/jni/android_renderscript_RenderScript.cpp b/rs/jni/android_renderscript_RenderScript.cpp index 4e667c6..e0f5934 100644 --- a/rs/jni/android_renderscript_RenderScript.cpp +++ b/rs/jni/android_renderscript_RenderScript.cpp
@@ -2071,6 +2071,8 @@ sc.array4End = 0; sca = ≻ + // sc_size is required, but unused, by the runtime and drivers. + sc_size = sizeof(sc); } rsScriptForEachMulti((RsContext)con, (RsScript)script, slot,