diff options
author | Alex Sakhartchouk <alexst@google.com> | 2010-10-14 09:34:56 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2010-10-14 09:34:56 -0700 |
commit | 838c6a15783b3ca9adc1ab49b25043ee272f63de (patch) | |
tree | 7c8da5719795c42c95d049429f1584d3610d69bb /graphics | |
parent | 4826ce828ffeae4e6a69666e6631dc8eb4f220c4 (diff) | |
parent | 9e401bcd88a0fdeea96f53cb776e5de7b5b084cb (diff) | |
download | frameworks_base-838c6a15783b3ca9adc1ab49b25043ee272f63de.zip frameworks_base-838c6a15783b3ca9adc1ab49b25043ee272f63de.tar.gz frameworks_base-838c6a15783b3ca9adc1ab49b25043ee272f63de.tar.bz2 |
Merge "Changing scenegraph sample to use arrays."
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/java/android/renderscript/Element.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/java/android/renderscript/Element.java b/graphics/java/android/renderscript/Element.java index dc421d8..d013886 100644 --- a/graphics/java/android/renderscript/Element.java +++ b/graphics/java/android/renderscript/Element.java @@ -342,7 +342,7 @@ public class Element extends BaseObj { mElementNames = n; mArraySizes = as; for (int ct = 0; ct < mElements.length; ct++ ) { - mSize += mElements[ct].mSize; + mSize += mElements[ct].mSize * mArraySizes[ct]; } } |