init GrDrawAtlasOp::fColor

Change-Id: Ifa474610dcb238a05ce7d688bae639d36ef4f4c1
Reviewed-on: https://skia-review.googlesource.com/23402
Reviewed-by: Brian Salomon <bsalomon@google.com>
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
This commit is contained in:
Brian Salomon 2017-07-14 09:24:30 -04:00 committed by Skia Commit-Bot
parent cf79ee5626
commit f99a1739be

View File

@ -28,7 +28,7 @@ static sk_sp<GrGeometryProcessor> make_gp(bool hasColors,
GrDrawAtlasOp::GrDrawAtlasOp(const Helper::MakeArgs& helperArgs, GrColor color,
const SkMatrix& viewMatrix, GrAAType aaType, int spriteCount,
const SkRSXform* xforms, const SkRect* rects, const SkColor* colors)
: INHERITED(ClassID()), fHelper(helperArgs, aaType) {
: INHERITED(ClassID()), fHelper(helperArgs, aaType), fColor(color) {
SkASSERT(xforms);
SkASSERT(rects);