diff options
author | Brian Salomon <bsalomon@google.com> | 2017-07-14 09:24:30 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-07-14 13:49:34 +0000 |
commit | f99a1739be4e7dec67a0b7e6e008c6999b139cee (patch) | |
tree | 1a49d5c87c37bc0063caf83da9213b6dbdc5a449 | |
parent | cf79ee5626ddf9c5fb5315a560d10c25f4270c6f (diff) |
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>
-rw-r--r-- | src/gpu/ops/GrDrawAtlasOp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/ops/GrDrawAtlasOp.cpp b/src/gpu/ops/GrDrawAtlasOp.cpp index b4fc6fac58..f5d636cf9d 100644 --- a/src/gpu/ops/GrDrawAtlasOp.cpp +++ b/src/gpu/ops/GrDrawAtlasOp.cpp @@ -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); |