Index: src/gpu/GrDefaultPathRenderer.cpp |
diff --git a/src/gpu/GrDefaultPathRenderer.cpp b/src/gpu/GrDefaultPathRenderer.cpp |
index e02e082b56a71627080d9d81b418b2c899700784..77af9e9856511d2ab804b5778f8cffa4b7d3489e 100644 |
--- a/src/gpu/GrDefaultPathRenderer.cpp |
+++ b/src/gpu/GrDefaultPathRenderer.cpp |
@@ -384,6 +384,10 @@ private: |
} |
bool onCombineIfPossible(GrBatch* t) override { |
+ if (!this->pipeline()->isEqual(*t->pipeline())) { |
+ return false; |
+ } |
+ |
DefaultPathBatch* that = t->cast<DefaultPathBatch>(); |
if (this->color() != that->color()) { |