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

Commit d9774458 authored by Chris Craik's avatar Chris Craik Committed by Android (Google) Code Review
Browse files

Merge "Add comment to Shader#mLocalMatrix"

parents 41eae911 957b3372
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -38,6 +38,9 @@ public class Shader {
     */
    private long mNativeInstance;

    /**
     * Current matrix - always set to null if local matrix is identity.
     */
    private Matrix mLocalMatrix;

    public enum TileMode {
@@ -70,7 +73,7 @@ public class Shader {
    public boolean getLocalMatrix(@NonNull Matrix localM) {
        if (mLocalMatrix != null) {
            localM.set(mLocalMatrix);
            return true;
            return true; // presence of mLocalMatrix means it's not identity
        }
        return false;
    }