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

Commit ef65bb30 authored by Stephen Hines's avatar Stephen Hines
Browse files

2X2 matrix needs 4 float elements.

BUG=4104094

Change-Id: I175bde5839d6f1c56b2fd7499853be723e85120f
parent 413bce45
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -42,7 +42,7 @@ public class Matrix2f {
    *                  floats long
    *                  floats long
    */
    */
    public Matrix2f(float[] dataArray) {
    public Matrix2f(float[] dataArray) {
        mMat = new float[2];
        mMat = new float[4];
        System.arraycopy(dataArray, 0, mMat, 0, mMat.length);
        System.arraycopy(dataArray, 0, mMat, 0, mMat.length);
    }
    }