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:
parent
a6e46865ac
commit
888e9f2c93
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user