diff options
Diffstat (limited to 'gm/gradients.cpp')
-rw-r--r-- | gm/gradients.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gm/gradients.cpp b/gm/gradients.cpp index 9336052366..775c796be7 100644 --- a/gm/gradients.cpp +++ b/gm/gradients.cpp @@ -204,7 +204,7 @@ protected: perspective.setIdentity(); perspective.setPerspY(SkScalarDiv(SK_Scalar1, SkIntToScalar(1000))); perspective.setSkewX(SkScalarDiv(SkIntToScalar(8), SkIntToScalar(25))); - canvas->setMatrix(perspective); + canvas->concat(perspective); INHERITED::onDraw(canvas); } |