Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 20221920 authored by Yang Ni's avatar Yang Ni Committed by Gerrit Code Review
Browse files

Merge "Use proper ScriptCall size in nScriptForEach()"

parents 0dbc3f96 e8f2e445
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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,