Index: src/gpu/gl/GrGLProgram.cpp |
diff --git a/src/gpu/gl/GrGLProgram.cpp b/src/gpu/gl/GrGLProgram.cpp |
index 0f4b70de2b235d8a8e4ca50eb6c73829fbeae208..f8770b3664827623473a37fb0c3a02128c29bfc2 100644 |
--- a/src/gpu/gl/GrGLProgram.cpp |
+++ b/src/gpu/gl/GrGLProgram.cpp |
@@ -32,7 +32,8 @@ static SkMatrix get_transform_matrix(const GrPendingFragmentStage& stage, int tr |
SkMatrix combined; |
if (kLocal_GrCoordSet == coordTransform.sourceCoords()) { |
- // If we have explicit local coords then we shouldn't need a coord change. |
+ // If we have explicit local coords or are in device coords then we shouldn't need a coord |
+ // change. |
const SkMatrix& ccm = stage.getCoordChangeMatrix(); |
combined.setConcat(coordTransform.getMatrix(), ccm); |
} else { |