summaryrefslogtreecommitdiffstats
path: root/graphics/java/android/renderscript/Matrix4f.java
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/java/android/renderscript/Matrix4f.java')
-rw-r--r--graphics/java/android/renderscript/Matrix4f.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/java/android/renderscript/Matrix4f.java b/graphics/java/android/renderscript/Matrix4f.java
index 219d93b..144a9a3 100644
--- a/graphics/java/android/renderscript/Matrix4f.java
+++ b/graphics/java/android/renderscript/Matrix4f.java
@@ -71,7 +71,7 @@ public class Matrix4f {
}
public void load(Matrix4f src) {
- System.arraycopy(mMat, 0, src.getArray(), 0, 16);
+ System.arraycopy(src.getArray(), 0, mMat, 0, mMat.length);
}
public void loadRotate(float rot, float x, float y, float z) {