Merge "Use proper ScriptCall size in nScriptForEach()" into nyc-dev

This commit is contained in:
Yang Ni
2016-03-16 15:46:37 +00:00
committed by Android (Google) Code Review

View File

@@ -2071,6 +2071,8 @@ nScriptForEach(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot,
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,