From 2cd0c340fc242e615a502f37512f08da78a12bf6 Mon Sep 17 00:00:00 2001 From: Miao Wang Date: Thu, 5 Mar 2015 16:27:15 -0800 Subject: [RenderScript] Add missing variable Change-Id: I148bab3a8c3fb360d345549401d0ed579a37e971 --- rs/jni/android_renderscript_RenderScript.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'rs/jni/android_renderscript_RenderScript.cpp') diff --git a/rs/jni/android_renderscript_RenderScript.cpp b/rs/jni/android_renderscript_RenderScript.cpp index 0bad827..fa7b2bc 100644 --- a/rs/jni/android_renderscript_RenderScript.cpp +++ b/rs/jni/android_renderscript_RenderScript.cpp @@ -1311,6 +1311,8 @@ nAllocationElementRead(JNIEnv *_env, jobject _this, jlong con, jlong _alloc, ALOGD("nAllocationElementRead, con(%p), alloc(%p), xoff(%i), yoff(%i), zoff(%i), comp(%i), " "sizeBytes(%i)", (RsContext)con, alloc, xoff, yoff, zoff, compIdx, sizeBytes); } + int mSize = sizeBytes; + int count = 0; PER_ARRAY_TYPE(0, rsAllocationElementRead, false, (RsContext)con, alloc, xoff, yoff, zoff, lod, ptr, sizeBytes, compIdx); } -- cgit v1.1