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

Commit 957b3372 authored by Chris Craik's avatar Chris Craik
Browse files

Add comment to Shader#mLocalMatrix

Test: just comments, none

Change-Id: Idd337deef5fa796f3d83ffbddca58949b27d5169
parent 76c27d8b
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;
    }