summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Stephen Hines <srhines@google.com> 2011-02-28 16:08:32 -0800
committer Android (Google) Code Review <android-gerrit@google.com> 2011-02-28 16:08:32 -0800
commitd72fcf68f60d7f51dd61aeee8f9ae2cc9c62e65e (patch)
treea88296c0ebf418369e36a93cd111de827db0bc0e
parent6c2193a7e26c0794f45dfb60d2a0cf6ae776f390 (diff)
parent347697710d033036c533bd6cee409c4b4c19d437 (diff)
Merge "Discovered a matrix element bug while writing cts unit tests."
-rw-r--r--graphics/java/android/renderscript/Element.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/graphics/java/android/renderscript/Element.java b/graphics/java/android/renderscript/Element.java
index 4fc419c6a53a..fae22f004a58 100644
--- a/graphics/java/android/renderscript/Element.java
+++ b/graphics/java/android/renderscript/Element.java
@@ -21,7 +21,7 @@ import android.util.Log;
/**
* <p>The most basic data type. An element represents one cell of a memory allocation.
- * Element is the basic data type of Renderscript. An element can be of two forms: Basic elements or Complex forms.
+ * Element is the basic data type of Renderscript. An element can be of two forms: Basic elements or Complex forms.
* Examples of basic elements are:</p>
* <ul>
* <li>Single float value</li>
@@ -29,7 +29,7 @@ import android.util.Log;
* <li>single RGB-565 color</li>
* <li>single unsigned int 16</li>
* </ul>
- * <p>Complex elements contain a list of sub-elements and names that
+ * <p>Complex elements contain a list of sub-elements and names that
* represents a structure of data. The fields can be accessed by name
* from a script or shader. The memory layout is defined and ordered. Data
* alignment is determinied by the most basic primitive type. i.e. a float4
@@ -403,7 +403,7 @@ public class Element extends BaseObj {
if(rs.mElement_MATRIX_3X3 == null) {
rs.mElement_MATRIX_3X3 = createUser(rs, DataType.MATRIX_3X3);
}
- return rs.mElement_MATRIX_4X4;
+ return rs.mElement_MATRIX_3X3;
}
public static Element MATRIX_2X2(RenderScript rs) {