Index: src/gpu/effects/GrBicubicEffect.cpp |
diff --git a/src/gpu/effects/GrBicubicEffect.cpp b/src/gpu/effects/GrBicubicEffect.cpp |
index db42f356698a6b09fd74fb510d09fa6f978024f9..8439909f56e0a7a1c0f048986a8fbcdd34c1ff28 100644 |
--- a/src/gpu/effects/GrBicubicEffect.cpp |
+++ b/src/gpu/effects/GrBicubicEffect.cpp |
@@ -132,9 +132,7 @@ void GrGLBicubicEffect::onSetData(const GrGLSLProgramDataManager& pdman, |
pdman.setMatrix4f(fCoefficientsUni, bicubicEffect.coefficients()); |
fDomain.setData(pdman, bicubicEffect.domain(), texture.origin()); |
if (SkToBool(bicubicEffect.colorSpaceXform())) { |
- float xformMatrix[16]; |
- bicubicEffect.colorSpaceXform()->srcToDst().asColMajorf(xformMatrix); |
- pdman.setMatrix4f(fColorSpaceXformUni, xformMatrix); |
+ pdman.setMatrix4f(fColorSpaceXformUni, bicubicEffect.colorSpaceXform()->srcToDst()); |
} |
} |