summaryrefslogtreecommitdiffstats
path: root/rs
diff options
context:
space:
mode:
authorJason Sams <jsams@google.com>2015-01-27 20:54:08 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-01-27 20:54:08 +0000
commit45e6c8b31253d864d55c9835c76180a9b3d5bd59 (patch)
tree54639e65ebb1edb3a8740acab5d8ba155589d9f5 /rs
parent2c2415a552b62016886af62419080ca7ac327871 (diff)
parent02236295a43380b21e4cae10b13da3398d607627 (diff)
downloadframeworks_base-45e6c8b31253d864d55c9835c76180a9b3d5bd59.zip
frameworks_base-45e6c8b31253d864d55c9835c76180a9b3d5bd59.tar.gz
frameworks_base-45e6c8b31253d864d55c9835c76180a9b3d5bd59.tar.bz2
am 02236295: am 4dd0cf42: Merge "Initialize clipping structure"
* commit '02236295a43380b21e4cae10b13da3398d607627': Initialize clipping structure
Diffstat (limited to 'rs')
-rw-r--r--rs/jni/android_renderscript_RenderScript.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/rs/jni/android_renderscript_RenderScript.cpp b/rs/jni/android_renderscript_RenderScript.cpp
index dced99a..06f4def 100644
--- a/rs/jni/android_renderscript_RenderScript.cpp
+++ b/rs/jni/android_renderscript_RenderScript.cpp
@@ -1382,6 +1382,14 @@ nScriptForEach(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot,
sc.zStart = limit_ptr[4];
sc.zEnd = limit_ptr[5];
sc.strategy = RS_FOR_EACH_STRATEGY_DONT_CARE;
+ sc.arrayStart = 0;
+ sc.arrayEnd = 0;
+ sc.array2Start = 0;
+ sc.array2End = 0;
+ sc.array3Start = 0;
+ sc.array3End = 0;
+ sc.array4Start = 0;
+ sc.array4End = 0;
sca = &sc;
}