diff options
author | 2017-06-12 07:50:05 -0400 | |
---|---|---|
committer | 2017-06-12 12:20:10 +0000 | |
commit | 888e9f2c939eb3c67dc20afd430b9dba09c7e488 (patch) | |
tree | aeca83c1cf2ee5c0285633ccaa160a0d175213b5 | |
parent | a6e46865aced0d54dd3cae6811c92eeeb6880104 (diff) |
Init fDevKLMMatrix in GrGLCubicEffect (possible valgrind fix)
TBR=bsalomon@google.com
Change-Id: I97357291d6d4098caecc9ac37348c9b9436ce11b
Reviewed-on: https://skia-review.googlesource.com/19442
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
-rw-r--r-- | src/gpu/effects/GrBezierEffect.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gpu/effects/GrBezierEffect.cpp b/src/gpu/effects/GrBezierEffect.cpp index 54a2e8576e..d45cd75cb8 100644 --- a/src/gpu/effects/GrBezierEffect.cpp +++ b/src/gpu/effects/GrBezierEffect.cpp @@ -529,7 +529,9 @@ private: }; GrGLCubicEffect::GrGLCubicEffect(const GrGeometryProcessor& processor) - : fViewMatrix(SkMatrix::InvalidMatrix()), fColor(GrColor_ILLEGAL) { + : fViewMatrix(SkMatrix::InvalidMatrix()) + , fDevKLMMatrix(SkMatrix::InvalidMatrix()) + , fColor(GrColor_ILLEGAL) { const GrCubicEffect& ce = processor.cast<GrCubicEffect>(); fEdgeType = ce.getEdgeType(); } |