diff options
Diffstat (limited to 'src/gpu/batches/GrNonAAFillRectBatch.cpp')
-rw-r--r-- | src/gpu/batches/GrNonAAFillRectBatch.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/batches/GrNonAAFillRectBatch.cpp b/src/gpu/batches/GrNonAAFillRectBatch.cpp index aaeabdaeb7..e2fff2adad 100644 --- a/src/gpu/batches/GrNonAAFillRectBatch.cpp +++ b/src/gpu/batches/GrNonAAFillRectBatch.cpp @@ -91,7 +91,7 @@ public: } else { info.fLocalQuad.set(rect); } - viewMatrix.mapRect(&fBounds, fRects[0].fRect); + this->setTransformedBounds(fRects[0].fRect, viewMatrix, HasAABloat::kNo, IsZeroArea::kNo); } const char* name() const override { return "NonAAFillRectBatch"; } @@ -170,7 +170,7 @@ private: } fRects.push_back_n(that->fRects.count(), that->fRects.begin()); - this->joinBounds(that->bounds()); + this->joinBounds(*that); return true; } |