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>
This commit is contained in:
Robert Phillips 2017-06-12 07:50:05 -04:00 committed by Skia Commit-Bot
parent a6e46865ac
commit 888e9f2c93

View File

@ -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();
}