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:
parent
cf79ee5626
commit
f99a1739be
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user