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

Commit 6f085f60 authored by ztenghui's avatar ztenghui
Browse files

Add documentation about 0 scale matrix to Shader

fix:36989035

Test: build
Change-Id: Id1134d5d31ea6a17dc56f24d26eb5da9a78a2c2d
parent f14aea9f
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -80,7 +80,8 @@ public class Shader {

    /**
     * Set the shader's local matrix. Passing null will reset the shader's
     * matrix to identity.
     * matrix to identity. If the matrix has scale value as 0, the drawing
     * result is undefined.
     *
     * @param localM The shader's new local matrix, or null to specify identity
     */