| Index: src/gpu/GrAARectRenderer.cpp
|
| diff --git a/src/gpu/GrAARectRenderer.cpp b/src/gpu/GrAARectRenderer.cpp
|
| index 420c9e7c5a409f2de6f9a82962080d052afa864f..48692ebf5e6fffdce087cc3aa7823fc5293b78c3 100644
|
| --- a/src/gpu/GrAARectRenderer.cpp
|
| +++ b/src/gpu/GrAARectRenderer.cpp
|
| @@ -208,7 +208,10 @@
|
| return false;
|
| }
|
|
|
| - SkASSERT(this->usesLocalCoords() == that->usesLocalCoords());
|
| + if (this->usesLocalCoords() != that->usesLocalCoords()) {
|
| + return false;
|
| + }
|
| +
|
| // We apply the viewmatrix to the rect points on the cpu. However, if the pipeline uses
|
| // local coords then we won't be able to batch. We could actually upload the viewmatrix
|
| // using vertex attributes in these cases, but haven't investigated that
|
|
|